// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_FPU.c
// Function: DA_
void __bea_callspec__ DA_(PDISASM pMyDisasm)
{
    long MyMODRM;
    char (*pRegistersFPU)[8][8] ;

    GV.DECALAGE_EIP = 0;
    if (!Security(1, pMyDisasm)) {return;}
    MyMODRM = *((UInt8*)(UIntPtr) (GV.EIP_+1));
    pRegistersFPU = &RegistersFPU_Masm;
    if (GV.SYNTAX_ == NasmSyntax) {
        pRegistersFPU = &RegistersFPU_Nasm;
    }
    if (MyMODRM <= 0xbf) {

        GV.REGOPCODE = ((*((UInt8*)(UIntPtr) (GV.EIP_+1))) >> 3) & 0x7;
        if (GV.REGOPCODE == 0) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+ARITHMETIC_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fiadd ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
        }
        else if (GV.REGOPCODE == 1) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+ARITHMETIC_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fimul ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
        }
        else if (GV.REGOPCODE == 2) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+COMPARISON_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "ficom ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
            (*pMyDisasm).Argument1.AccessMode = READ;
        }
        else if (GV.REGOPCODE == 3) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+COMPARISON_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "ficomp ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
            (*pMyDisasm).Argument1.AccessMode = READ;
        }
        else if (GV.REGOPCODE == 4) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+ARITHMETIC_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fisub ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
        }
        else if (GV.REGOPCODE == 5) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+ARITHMETIC_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fisubr ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
        }
        else if (GV.REGOPCODE == 6) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+ARITHMETIC_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fidiv ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
        }
        else if (GV.REGOPCODE == 7) {
            GV.MemDecoration = Arg2dword;
            MOD_RM(&(*pMyDisasm).Argument2, pMyDisasm);
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+ARITHMETIC_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fidivr ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REG0;
            (*pMyDisasm).Argument1.ArgSize = 80;
        }
        else {
            FailDecode(pMyDisasm);
        }
    }
    else {
        if ((MyMODRM & 0xf0) == 0xc0) {
            if (((MyMODRM & 0xf) >=0) && ((MyMODRM & 0xf) <=7)) {
                (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+DATA_TRANSFER;
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fcmovb ");
                #endif
            }
            else {
                (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+DATA_TRANSFER;
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fcmove ");
                #endif
                (*pMyDisasm).Argument2.AccessMode = WRITE;
            }
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Argument1.ArgMnemonic, (*pRegistersFPU)[0]);
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REGS[0];
            (*pMyDisasm).Argument1.ArgSize = 80;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Argument2.ArgMnemonic, (*pRegistersFPU)[(MyMODRM & 0xf)%8]);
            #endif
            (*pMyDisasm).Argument2.ArgType = REGISTER_TYPE+FPU_REG+REGS[(MyMODRM & 0xf)%8];
            (*pMyDisasm).Argument2.ArgSize = 80;
        }
        else if ((MyMODRM & 0xf0) == 0xd0) {
            if (((MyMODRM & 0xf) >=0) && ((MyMODRM & 0xf) <=7)) {
                (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+DATA_TRANSFER;
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fcmovbe ");
                #endif
            }
            else {
                (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+DATA_TRANSFER;
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fcmovu ");
                #endif
                (*pMyDisasm).Argument2.AccessMode = WRITE;
            }
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Argument1.ArgMnemonic, (*pRegistersFPU)[0]);
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REGS[0];
            (*pMyDisasm).Argument1.ArgSize = 80;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Argument2.ArgMnemonic, (*pRegistersFPU)[(MyMODRM & 0xf)%8]);
            #endif
            (*pMyDisasm).Argument2.ArgType = REGISTER_TYPE+FPU_REG+REGS[(MyMODRM & 0xf)%8];
            (*pMyDisasm).Argument2.ArgSize = 80;

        }
        else if (MyMODRM == 0xe9) {
            (*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+COMPARISON_INSTRUCTION;
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fucompp ");
            #endif
            (*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+FPU_REG+REGS[0];
            (*pMyDisasm).Argument1.ArgSize = 80;
            (*pMyDisasm).Argument1.AccessMode = READ;
        }
        else {
            FailDecode(pMyDisasm);
        }
    }
    GV.EIP_ += GV.DECALAGE_EIP+2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, 0x244(%rax)
movq -0x8(%rbp), %rsi
movl $0x1, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x28c12
jmp 0x2932a
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
movzbl 0x1(%rax), %eax
movq %rax, -0x10(%rbp)
leaq 0x39dd4(%rip), %rax     # 0x62a00
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x200, 0x24c(%rax)     # imm = 0x200
jne 0x28c4b
leaq 0x39df9(%rip), %rax     # 0x62a40
movq %rax, -0x18(%rbp)
cmpq $0xbf, -0x10(%rbp)
jg 0x29042
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
movzbl 0x1(%rax), %ecx
sarl $0x3, %ecx
andl $0x7, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x240(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x240(%rax)
jne 0x28ceb
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x20002, 0x60(%rax)    # imm = 0x20002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28f4b(%rip), %rsi     # 0x51c10
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
jmp 0x2903d
movq -0x8(%rbp), %rax
cmpl $0x1, 0x240(%rax)
jne 0x28d5e
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x20002, 0x60(%rax)    # imm = 0x20002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28edf(%rip), %rsi     # 0x51c17
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
jmp 0x2903b
movq -0x8(%rbp), %rax
cmpl $0x2, 0x240(%rax)
jne 0x28ddf
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x2000d, 0x60(%rax)    # imm = 0x2000D
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28e73(%rip), %rsi     # 0x51c1e
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0xe8(%rax)
jmp 0x29039
movq -0x8(%rbp), %rax
cmpl $0x3, 0x240(%rax)
jne 0x28e60
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x2000d, 0x60(%rax)    # imm = 0x2000D
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28df9(%rip), %rsi     # 0x51c25
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0xe8(%rax)
jmp 0x29037
movq -0x8(%rbp), %rax
cmpl $0x4, 0x240(%rax)
jne 0x28ed3
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x20002, 0x60(%rax)    # imm = 0x20002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28d80(%rip), %rsi     # 0x51c2d
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
jmp 0x29035
movq -0x8(%rbp), %rax
cmpl $0x5, 0x240(%rax)
jne 0x28f46
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x20002, 0x60(%rax)    # imm = 0x20002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28d14(%rip), %rsi     # 0x51c34
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
jmp 0x29033
movq -0x8(%rbp), %rax
cmpl $0x6, 0x240(%rax)
jne 0x28fb6
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x20002, 0x60(%rax)    # imm = 0x20002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28ca9(%rip), %rsi     # 0x51c3c
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
jmp 0x29031
movq -0x8(%rbp), %rax
cmpl $0x7, 0x240(%rax)
jne 0x29026
movq -0x8(%rbp), %rax
movl $0x67, 0x210(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x20002, 0x60(%rax)    # imm = 0x20002
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28c40(%rip), %rsi     # 0x51c43
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x20040001, 0xdc(%rax) # imm = 0x20040001
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
jmp 0x2902f
movq -0x8(%rbp), %rdi
callq 0x30050
jmp 0x29031
jmp 0x29033
jmp 0x29035
jmp 0x29037
jmp 0x29039
jmp 0x2903b
jmp 0x2903d
jmp 0x29307
movq -0x10(%rbp), %rax
andq $0xf0, %rax
cmpq $0xc0, %rax
jne 0x2916e
movq -0x10(%rbp), %rax
andq $0xf, %rax
cmpq $0x0, %rax
jl 0x29099
movq -0x10(%rbp), %rax
andq $0xf, %rax
cmpq $0x7, %rax
jg 0x29099
movq -0x8(%rbp), %rax
movl $0x20001, 0x60(%rax)    # imm = 0x20001
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28bb9(%rip), %rsi     # 0x51c4b
callq 0x81c0
jmp 0x290ca
movq -0x8(%rbp), %rax
movl $0x20001, 0x60(%rax)    # imm = 0x20001
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28b9c(%rip), %rsi     # 0x51c53
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x2, 0x150(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x18(%rbp), %rsi
callq 0x81c0
movl 0x39dbc(%rip), %ecx     # 0x62ea0
addl $0x20040000, %ecx       # imm = 0x20040000
movq -0x8(%rbp), %rax
movl %ecx, 0xdc(%rax)
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x18(%rbp), %rsi
movq -0x10(%rbp), %rax
andq $0xf, %rax
movl $0x8, %ecx
cqto
idivq %rcx
shlq $0x3, %rdx
addq %rdx, %rsi
callq 0x81c0
movq -0x10(%rbp), %rax
andq $0xf, %rax
movl $0x8, %ecx
cqto
idivq %rcx
leaq 0x39d58(%rip), %rax     # 0x62ea0
movl (%rax,%rdx,4), %ecx
addl $0x20040000, %ecx       # imm = 0x20040000
movq -0x8(%rbp), %rax
movl %ecx, 0x144(%rax)
movq -0x8(%rbp), %rax
movl $0x50, 0x148(%rax)
jmp 0x29305
movq -0x10(%rbp), %rax
andq $0xf0, %rax
cmpq $0xd0, %rax
jne 0x29297
movq -0x10(%rbp), %rax
andq $0xf, %rax
cmpq $0x0, %rax
jl 0x291c5
movq -0x10(%rbp), %rax
andq $0xf, %rax
cmpq $0x7, %rax
jg 0x291c5
movq -0x8(%rbp), %rax
movl $0x20001, 0x60(%rax)    # imm = 0x20001
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28a9d(%rip), %rsi     # 0x51c5b
callq 0x81c0
jmp 0x291f6
movq -0x8(%rbp), %rax
movl $0x20001, 0x60(%rax)    # imm = 0x20001
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x28a81(%rip), %rsi     # 0x51c64
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x2, 0x150(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x18(%rbp), %rsi
callq 0x81c0
movl 0x39c90(%rip), %ecx     # 0x62ea0
addl $0x20040000, %ecx       # imm = 0x20040000
movq -0x8(%rbp), %rax
movl %ecx, 0xdc(%rax)
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
movq -0x18(%rbp), %rsi
movq -0x10(%rbp), %rax
andq $0xf, %rax
movl $0x8, %ecx
cqto
idivq %rcx
shlq $0x3, %rdx
addq %rdx, %rsi
callq 0x81c0
movq -0x10(%rbp), %rax
andq $0xf, %rax
movl $0x8, %ecx
cqto
idivq %rcx
leaq 0x39c2c(%rip), %rax     # 0x62ea0
movl (%rax,%rdx,4), %ecx
addl $0x20040000, %ecx       # imm = 0x20040000
movq -0x8(%rbp), %rax
movl %ecx, 0x144(%rax)
movq -0x8(%rbp), %rax
movl $0x50, 0x148(%rax)
jmp 0x29303
cmpq $0xe9, -0x10(%rbp)
jne 0x292f8
movq -0x8(%rbp), %rax
movl $0x2000d, 0x60(%rax)    # imm = 0x2000D
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x289ad(%rip), %rsi     # 0x51c6c
callq 0x81c0
movl 0x39bd6(%rip), %ecx     # 0x62ea0
addl $0x20040000, %ecx       # imm = 0x20040000
movq -0x8(%rbp), %rax
movl %ecx, 0xdc(%rax)
movq -0x8(%rbp), %rax
movl $0x50, 0xe0(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0xe8(%rax)
jmp 0x29301
movq -0x8(%rbp), %rdi
callq 0x30050
jmp 0x29303
jmp 0x29305
jmp 0x29307
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x2, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
addq $0x20, %rsp
popq %rbp
retq