// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_SSE.c
// Function: pshufw_
void __bea_callspec__ pshufw_(PDISASM pMyDisasm)
{
    (*pMyDisasm).Instruction.Category = SSE2_INSTRUCTION+SIMD128bits;
    /* ========= 0xf3 */
    if (GV.PrefRepe == 1) {
        (*pMyDisasm).Prefix.RepPrefix = MandatoryPrefix;
        GV.MemDecoration = Arg2dqword;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pshufhw ");
        #endif
        GV.ImmediatSize = 8;
        GV.SSE_ = 1;
        GxEx(pMyDisasm);
        GV.SSE_ = 0;
        GV.EIP_++;
        if (!Security(0, pMyDisasm)) return;
        GV.third_arg = 1;
        (*pMyDisasm).Instruction.Immediat = *((UInt8*)(UIntPtr) (GV.EIP_- 1));
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) CopyFormattedNumber(pMyDisasm, (char*) (*pMyDisasm).Argument3.ArgMnemonic, "%.2X",(Int64) *((UInt8*)(UIntPtr) (GV.EIP_- 1)));
        #endif
        (*pMyDisasm).Argument3.ArgType = CONSTANT_TYPE+ABSOLUTE_;
        (*pMyDisasm).Argument3.ArgSize = 8;

    }
    /* ========= 0xf2 */
    else if (GV.PrefRepne == 1) {
        (*pMyDisasm).Prefix.RepnePrefix = MandatoryPrefix;
        GV.MemDecoration = Arg2dqword;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pshuflw ");
        #endif
        GV.ImmediatSize = 8;
        GV.SSE_ = 1;
        GxEx(pMyDisasm);
        GV.SSE_ = 0;
        GV.EIP_++;
        if (!Security(0, pMyDisasm)) return;
        GV.third_arg = 1;
        (*pMyDisasm).Instruction.Immediat = *((UInt8*)(UIntPtr) (GV.EIP_- 1));
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) CopyFormattedNumber(pMyDisasm, (char*) (*pMyDisasm).Argument3.ArgMnemonic, "%.2X",(Int64) *((UInt8*)(UIntPtr) (GV.EIP_- 1)));
        #endif
        (*pMyDisasm).Argument3.ArgType = CONSTANT_TYPE+ABSOLUTE_;
        (*pMyDisasm).Argument3.ArgSize = 8;

    }

    /* ========== 0x66 */
    else if ((*pMyDisasm).Prefix.OperandSize == InUsePrefix) {
        GV.OperandSize = GV.OriginalOperandSize;
        (*pMyDisasm).Prefix.OperandSize = MandatoryPrefix;
        GV.MemDecoration = Arg2dqword;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pshufd ");
        #endif
        GV.ImmediatSize = 8;
        GV.SSE_ = 1;
        GxEx(pMyDisasm);
        GV.SSE_ = 0;
        GV.EIP_++;
        if (!Security(0, pMyDisasm)) return;
        GV.third_arg = 1;
        (*pMyDisasm).Instruction.Immediat = *((UInt8*)(UIntPtr) (GV.EIP_- 1));
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) CopyFormattedNumber(pMyDisasm, (char*) (*pMyDisasm).Argument3.ArgMnemonic, "%.2X",(Int64) *((UInt8*)(UIntPtr) (GV.EIP_- 1)));
        #endif
        (*pMyDisasm).Argument3.ArgType = CONSTANT_TYPE+ABSOLUTE_;
        (*pMyDisasm).Argument3.ArgSize = 8;

    }
    else {
        GV.MemDecoration = Arg2qword;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pshufw ");
        #endif
        GV.ImmediatSize = 8;
        GV.MMX_ = 1;
        GxEx(pMyDisasm);
        GV.MMX_ = 0;
        GV.EIP_++;
        if (!Security(0, pMyDisasm)) return;
        GV.third_arg = 1;
        (*pMyDisasm).Instruction.Immediat = *((UInt8*)(UIntPtr) (GV.EIP_- 1));
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) CopyFormattedNumber(pMyDisasm, (char*) (*pMyDisasm).Argument3.ArgMnemonic, "%.2X",(Int64) *((UInt8*)(UIntPtr) (GV.EIP_- 1)));
        #endif
        (*pMyDisasm).Argument3.ArgType = CONSTANT_TYPE+ABSOLUTE_;
        (*pMyDisasm).Argument3.ArgSize = 8;

    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x100017, 0x60(%rax)   # imm = 0x100017
movq -0x8(%rbp), %rax
cmpl $0x1, 0x268(%rax)
jne 0x359e4
movq -0x8(%rbp), %rax
movb $0x8, 0x1e0(%rax)
movq -0x8(%rbp), %rax
movl $0x6c, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1cb14(%rip), %rsi     # 0x52418
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4eb90
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x35967
jmp 0x35d32
movq -0x8(%rbp), %rax
movl $0x1, 0x278(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x16c, %rsi            # imm = 0x16C
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x1ba9d(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x8(%rbp), %rax
movl $0x88000000, 0x1ac(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x1b0(%rax)
jmp 0x35d32
movq -0x8(%rbp), %rax
cmpl $0x1, 0x26c(%rax)
jne 0x35b01
movq -0x8(%rbp), %rax
movb $0x8, 0x1df(%rax)
movq -0x8(%rbp), %rax
movl $0x6c, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1ca00(%rip), %rsi     # 0x52421
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4eb90
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x35a84
jmp 0x35d32
movq -0x8(%rbp), %rax
movl $0x1, 0x278(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x16c, %rsi            # imm = 0x16C
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x1b980(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x8(%rbp), %rax
movl $0x88000000, 0x1ac(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x1b0(%rax)
jmp 0x35d30
movq -0x8(%rbp), %rax
movzbl 0x1dd(%rax), %eax
cmpl $0x1, %eax
jne 0x35c35
movq -0x8(%rbp), %rax
movl 0x208(%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x20c(%rax)
movq -0x8(%rbp), %rax
movb $0x8, 0x1dd(%rax)
movq -0x8(%rbp), %rax
movl $0x6c, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1c8d5(%rip), %rsi     # 0x5242a
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4eb90
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x35bb8
jmp 0x35d32
movq -0x8(%rbp), %rax
movl $0x1, 0x278(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x16c, %rsi            # imm = 0x16C
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x1b84c(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x8(%rbp), %rax
movl $0x88000000, 0x1ac(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x1b0(%rax)
jmp 0x35d2e
movq -0x8(%rbp), %rax
movl $0x68, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1c7dc(%rip), %rsi     # 0x52432
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x22c(%rax)
movq -0x8(%rbp), %rdi
callq 0x4eb90
movq -0x8(%rbp), %rax
movl $0x0, 0x22c(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x35cb6
jmp 0x35d32
movq -0x8(%rbp), %rax
movl $0x1, 0x278(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x16c, %rsi            # imm = 0x16C
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x1b74e(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x8(%rbp), %rax
movl $0x88000000, 0x1ac(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x1b0(%rax)
jmp 0x35d30
jmp 0x35d32
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)