// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_N_Z.c
// Function: nop_
void __bea_callspec__ nop_(PDISASM pMyDisasm)
{
    if (GV.PrefRepe == 1) {
        (*pMyDisasm).Instruction.Category = SSE2_INSTRUCTION+CACHEABILITY_CONTROL;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pause ");
        #endif
        GV.EIP_++;
    }
    else {
        if (GV.REX.B_ == 1) {
            if ((*pMyDisasm).Prefix.LockPrefix == InvalidPrefix) {
                (*pMyDisasm).Prefix.LockPrefix = InUsePrefix;
            }
            (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+DATA_TRANSFER;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "xchg ");
            #endif

            if (GV.OperandSize == 64) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Argument1.ArgMnemonic, Registers64Bits[0]);
                #endif

                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Argument2.ArgMnemonic, Registers64Bits[0+8]);
                #endif
                GV.EIP_++;
                (*pMyDisasm).Argument2.AccessMode = WRITE;
                (*pMyDisasm).Argument1.ArgSize = 64;
                (*pMyDisasm).Argument2.ArgSize = 64;
            }
            else if (GV.OperandSize == 32) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Argument1.ArgMnemonic, Registers32Bits[0]);
                #endif

                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Argument2.ArgMnemonic, Registers32Bits[0+8]);
                #endif

                GV.EIP_++;
                (*pMyDisasm).Argument2.AccessMode = WRITE;
                (*pMyDisasm).Argument1.ArgSize = 32;
                (*pMyDisasm).Argument2.ArgSize = 32;
            }
            else {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Argument1.ArgMnemonic, Registers16Bits[0]);
                #endif

                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Argument2.ArgMnemonic, Registers16Bits[0+8]);
                #endif

                GV.EIP_++;
                (*pMyDisasm).Argument2.AccessMode = WRITE;
                (*pMyDisasm).Argument1.ArgSize = 16;
                (*pMyDisasm).Argument2.ArgSize = 16;
            }

        }
        else {
            (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+MISCELLANEOUS_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "nop ");
            #endif
            GV.EIP_++;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x268(%rax)
jne 0x1f977
movq -0x8(%rbp), %rax
movl $0x100019, 0x60(%rax)   # imm = 0x100019
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x31da7(%rip), %rsi     # 0x516fe
callq 0x81c0
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
jmp 0x1fb73
movq -0x8(%rbp), %rax
movzbl 0x287(%rax), %eax
cmpl $0x1, %eax
jne 0x1fb38
movq -0x8(%rbp), %rax
movzbl 0x1dc(%rax), %eax
cmpl $0x4, %eax
jne 0x1f9a6
movq -0x8(%rbp), %rax
movb $0x1, 0x1dc(%rax)
movq -0x8(%rbp), %rax
movl $0x10001, 0x60(%rax)    # imm = 0x10001
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x31b8c(%rip), %rsi     # 0x51550
callq 0x81c0
movq -0x8(%rbp), %rax
cmpl $0x40, 0x20c(%rax)
jne 0x1fa49
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
leaq 0x43218(%rip), %rsi     # 0x62c00
callq 0x81c0
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
leaq 0x43221(%rip), %rsi     # 0x62c20
callq 0x81c0
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rax
movl $0x2, 0x150(%rax)
movq -0x8(%rbp), %rax
movl $0x40, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x40, 0x148(%rax)
jmp 0x1fb36
movq -0x8(%rbp), %rax
cmpl $0x20, 0x20c(%rax)
jne 0x1fac6
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
leaq 0x431d8(%rip), %rsi     # 0x62c40
callq 0x81c0
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
leaq 0x43201(%rip), %rsi     # 0x62c80
callq 0x81c0
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rax
movl $0x2, 0x150(%rax)
movq -0x8(%rbp), %rax
movl $0x20, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x20, 0x148(%rax)
jmp 0x1fb34
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
leaq 0x431e8(%rip), %rsi     # 0x62cc0
callq 0x81c0
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
leaq 0x43211(%rip), %rsi     # 0x62d00
callq 0x81c0
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rax
movl $0x2, 0x150(%rax)
movq -0x8(%rbp), %rax
movl $0x10, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x10, 0x148(%rax)
jmp 0x1fb36
jmp 0x1fb71
movq -0x8(%rbp), %rax
movl $0x1000c, 0x60(%rax)    # imm = 0x1000C
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x31bb4(%rip), %rsi     # 0x5170a
callq 0x81c0
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x1f0(%rax)
jmp 0x1fb73
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)