// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_SSE.c
// Function: movups_WV
void __bea_callspec__ movups_WV(PDISASM pMyDisasm)
{
    /* ========= 0xf2 */
    if (GV.PrefRepne == 1) {
        (*pMyDisasm).Prefix.RepnePrefix = MandatoryPrefix;
        GV.MemDecoration = Arg1qword;
        (*pMyDisasm).Instruction.Category = SSE2_INSTRUCTION+ARITHMETIC_INSTRUCTION;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "movsd ");
        #endif
        GV.SSE_ = 1;
        ExGx(pMyDisasm);
        GV.SSE_ = 0;
    }
    /* ========= 0xf3 */
    else if (GV.PrefRepe == 1) {
        (*pMyDisasm).Prefix.RepPrefix = MandatoryPrefix;
        GV.MemDecoration = Arg1dword;
        (*pMyDisasm).Instruction.Category = SSE_INSTRUCTION+ARITHMETIC_INSTRUCTION;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "movss ");
        #endif
        GV.SSE_ = 1;
        ExGx(pMyDisasm);
        GV.SSE_ = 0;
    }
    /* ========== 0x66 */
    else if ((*pMyDisasm).Prefix.OperandSize == InUsePrefix) {
        GV.OperandSize = GV.OriginalOperandSize;
        (*pMyDisasm).Prefix.OperandSize = MandatoryPrefix;
        GV.MemDecoration = Arg1dqword;
        (*pMyDisasm).Instruction.Category = SSE2_INSTRUCTION+ARITHMETIC_INSTRUCTION;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "movupd ");
        #endif
        GV.SSE_ = 1;
        ExGx(pMyDisasm);
        GV.SSE_ = 0;
    }
    else {
        GV.MemDecoration = Arg1dqword;
        (*pMyDisasm).Instruction.Category = SSE_INSTRUCTION+ARITHMETIC_INSTRUCTION;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "movups ");
        #endif
        GV.SSE_ = 1;
        ExGx(pMyDisasm);
        GV.SSE_ = 0;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x26c(%rax)
jne 0x3067f
movq -0x8(%rbp), %rax
movb $0x8, 0x1df(%rax)
movq -0x8(%rbp), %rax
movl $0x4, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x100002, 0x60(%rax)   # imm = 0x100002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x21092(%rip), %rsi     # 0x516e2
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4ebf0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
jmp 0x307d3
movq -0x8(%rbp), %rax
cmpl $0x1, 0x268(%rax)
jne 0x306f2
movq -0x8(%rbp), %rax
movb $0x8, 0x1e0(%rax)
movq -0x8(%rbp), %rax
movl $0x3, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x80002, 0x60(%rax)    # imm = 0x80002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x21b04(%rip), %rsi     # 0x521c7
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4ebf0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
jmp 0x307d1
movq -0x8(%rbp), %rax
movzbl 0x1dd(%rax), %eax
cmpl $0x1, %eax
jne 0x30779
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 $0x8, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x100002, 0x60(%rax)   # imm = 0x100002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x21a81(%rip), %rsi     # 0x521ce
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4ebf0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
jmp 0x307cf
movq -0x8(%rbp), %rax
movl $0x8, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x80002, 0x60(%rax)    # imm = 0x80002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x21a31(%rip), %rsi     # 0x521d6
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
callq 0x4ebf0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
jmp 0x307d1
jmp 0x307d3
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)