require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_RF__RF_DAGFUNCS_H_)) {
    eval 'sub _RF__RF_DAGFUNCS_H_ () {1;}' unless defined(&_RF__RF_DAGFUNCS_H_);
    eval 'sub RF_CREATE_PARAM3 {
        my($pri,$lk,$unlk,$wru) = @_;
	    eval q(((( &RF_uint64) ((($wru & 0xffffff) << 8) | (($lk) ? 0x10 : 0) | (($unlk) ? 0x20 : 0) | (($pri) & 0xf)))));
    }' unless defined(&RF_CREATE_PARAM3);
    eval 'sub RF_EXTRACT_PRIORITY {
        my($_x_) = @_;
	    eval q(((( (($_x_))) >> 0) & 0xf));
    }' unless defined(&RF_EXTRACT_PRIORITY);
    eval 'sub RF_EXTRACT_LOCK_FLAG {
        my($_x_) = @_;
	    eval q(((( (($_x_))) >> 4) & 0x1));
    }' unless defined(&RF_EXTRACT_LOCK_FLAG);
    eval 'sub RF_EXTRACT_UNLOCK_FLAG {
        my($_x_) = @_;
	    eval q(((( (($_x_))) >> 5) & 0x1));
    }' unless defined(&RF_EXTRACT_UNLOCK_FLAG);
    eval 'sub RF_EXTRACT_RU {
        my($_x_) = @_;
	    eval q(((( (($_x_))) >> 8) & 0xffffff));
    }' unless defined(&RF_EXTRACT_RU);
}
1;
