// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_N_Z.c
// Function: outsw_
void __bea_callspec__ outsw_(PDISASM pMyDisasm)
{
    if ((*pMyDisasm).Prefix.RepnePrefix == SuperfluousPrefix) {
        (*pMyDisasm).Prefix.RepnePrefix = InUsePrefix;
    }
    if ((*pMyDisasm).Prefix.RepPrefix == SuperfluousPrefix) {
        (*pMyDisasm).Prefix.RepPrefix = InUsePrefix;
    }
    (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+InOutINSTRUCTION;
    if (GV.OperandSize >= 32) {
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "outsd ");
        #endif
        (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG2;
        (*pMyDisasm).Argument1.ArgSize = 16;
        (*pMyDisasm).Argument1.AccessMode = READ;
        (*pMyDisasm).Argument2.ArgType = MEMORY_TYPE;
        (*pMyDisasm).Argument2.Memory.BaseRegister = REG6;
        (*pMyDisasm).Argument2.ArgSize = 32;
        GV.EIP_++;
        FillFlags(pMyDisasm, 76);
    }

    else {
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "outsw ");
        #endif
        (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG2;
        (*pMyDisasm).Argument1.ArgSize = 16;
        (*pMyDisasm).Argument1.AccessMode = READ;
        (*pMyDisasm).Argument2.ArgType = MEMORY_TYPE;
        (*pMyDisasm).Argument2.Memory.BaseRegister = REG6;
        (*pMyDisasm).Argument2.ArgSize = 16;
        GV.EIP_++;
        FillFlags(pMyDisasm, 76);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movzbl 0x1df(%rax), %eax
cmpl $0x2, %eax
jne 0x1cb37
movq -0x8(%rbp), %rax
movb $0x1, 0x1df(%rax)
movq -0x8(%rbp), %rax
movzbl 0x1e0(%rax), %eax
cmpl $0x2, %eax
jne 0x1cb52
movq -0x8(%rbp), %rax
movb $0x1, 0x1e0(%rax)
movq -0x8(%rbp), %rax
movl $0x10008, 0x60(%rax)    # imm = 0x10008
movq -0x8(%rbp), %rax
cmpl $0x20, 0x20c(%rax)
jl 0x1cc03
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x34b95(%rip), %rsi     # 0x51716
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20020004, 0xdc(%rax) # imm = 0x20020004
movq -0x8(%rbp), %rax
movl $0x10, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0xe8(%rax)
movq -0x8(%rbp), %rax
movl $0x40000000, 0x144(%rax) # imm = 0x40000000
movq -0x8(%rbp), %rax
movl $0x40, 0x154(%rax)
movq -0x8(%rbp), %rax
movl $0x20, 0x148(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rdi
movl $0x4c, %esi
callq 0x4d560
jmp 0x1cc93
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x34b07(%rip), %rsi     # 0x5171d
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20020004, 0xdc(%rax) # imm = 0x20020004
movq -0x8(%rbp), %rax
movl $0x10, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0xe8(%rax)
movq -0x8(%rbp), %rax
movl $0x40000000, 0x144(%rax) # imm = 0x40000000
movq -0x8(%rbp), %rax
movl $0x40, 0x154(%rax)
movq -0x8(%rbp), %rax
movl $0x10, 0x148(%rax)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rdi
movl $0x4c, %esi
callq 0x4d560
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)