// File: /workspace/github_c_makefile_star2_O2/buptlxb[P]xRay/disasm/instr_set/opcodes_CLMUL.c
// Function: pclmulqdq_
void __bea_callspec__ pclmulqdq_(PDISASM pMyDisasm)
{
    /* ========== 0x66 */
    if (GV.OperandSize == 16) {
        (*pMyDisasm).Prefix.OperandSize = MandatoryPrefix;
        GV.MemDecoration = Arg2dqword;
        (*pMyDisasm).Instruction.Category = CLMUL_INSTRUCTION;

        GV.ImmediatSize = 8;
        GV.SSE_ = 1;
        GxEx(pMyDisasm);
        GV.SSE_ = 0;
        GV.EIP_++;
        if (!Security(0, pMyDisasm)) return;

        (*pMyDisasm).Instruction.Immediat = *((UInt8*)(UIntPtr) (GV.EIP_- 1));

        if ((*pMyDisasm).Instruction.Immediat == 0) {
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pclmullqlqdq ");
            #endif
        }
        else if ((*pMyDisasm).Instruction.Immediat == 0x01 ) {
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pclmulhqlqdq ");
            #endif
        }
        else if ((*pMyDisasm).Instruction.Immediat == 0x10 ) {
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pclmullqhqdq ");
            #endif
        }
        else if ((*pMyDisasm).Instruction.Immediat == 0x011 ) {
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pclmulhqhqdq ");
            #endif
        }
        else {
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pclmulqdq ");
            #endif
            GV.third_arg = 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 {
        FailDecode(pMyDisasm);
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x10, 0x20c(%rdi)
jne 0x241ec
movb $0x8, 0x1dd(%rbx)
movl $0x6c, 0x210(%rbx)
movl $0x80000000, 0x60(%rbx) # imm = 0x80000000
movl $0x8, 0x260(%rbx)
movl $0x1, 0x230(%rbx)
movq %rbx, %rdi
callq 0x290ce
andl $0x0, 0x230(%rbx)
movq 0x1f0(%rbx), %rcx
movq 0x250(%rbx), %rax
leaq 0x1(%rcx), %rdx
movq %rdx, 0x1f0(%rbx)
decq %rax
cmpq %rdx, %rax
jae 0x24203
movl $0x1, 0x289(%rbx)
jmp 0x24271
movb $0x0, 0x6c(%rbx)
movl $0x203f3f3f, 0x68(%rbx) # imm = 0x203F3F3F
movl $0x1, 0x280(%rbx)
jmp 0x24271
movzbl (%rcx), %edx
leaq 0x68(%rbx), %rax
movq %rdx, 0x90(%rbx)
cmpl $0x11, %edx
je 0x24256
cmpl $0x1, %edx
je 0x24230
cmpl $0x10, %edx
je 0x2423c
testl %edx, %edx
jne 0x24273
movabsq $0x207164716c716c, %rcx # imm = 0x207164716C716C
jmp 0x24246
movabsq $0x207164716c7168, %rcx # imm = 0x207164716C7168
jmp 0x24260
movabsq $0x2071647168716c, %rcx # imm = 0x2071647168716C
movq %rcx, 0x6(%rax)
movabsq $0x716c6c756d6c6370, %rcx # imm = 0x716C6C756D6C6370
jmp 0x2426e
movabsq $0x20716471687168, %rcx # imm = 0x20716471687168
movq %rcx, 0x6(%rax)
movabsq $0x71686c756d6c6370, %rcx # imm = 0x71686C756D6C6370
movq %rcx, (%rax)
popq %rbx
retq
movabsq $0x64716c756d6c6370, %rdx # imm = 0x64716C756D6C6370
movq %rdx, (%rax)
movl $0x207164, 0x7(%rax)    # imm = 0x207164
movl $0x1, 0x278(%rbx)
leaq 0x16c(%rbx), %rsi
movzbl (%rcx), %ecx
leaq 0x6771(%rip), %rdx      # 0x2aa13
movq %rbx, %rdi
callq 0x283ec
movabsq $0x888000000, %rax      # imm = 0x888000000
movq %rax, 0x1ac(%rbx)
jmp 0x24271