!!ARBvp1.0
#FileName: -1120214470
TEMP u0 , u1;
PARAM u2 = {0, 0 , 1 , 0};
PARAM u3 = {0 , 0 , 0 , 1};
MOV u0 , program.local[9];
MOV u1 , program.local[10];

TEMP c22;
MOV c22, { 2, -1, 0, 1};
 ATTRIB v0  =  vertex.attrib[0];
#register_usage: v0 dcl_position;
 ATTRIB v1  =  vertex.attrib[1];
#register_usage: v1 dcl_normal;
 ATTRIB tv2  =  vertex.attrib[2];
#register_usage: v2 dcl_color
TEMP v2 ;
MOV  v2.xyzw,tv2.zyxw;
PARAM c4 = program.env[4] ;
TEMP r1 ;
DP4  r1.x , v0 , c4;
PARAM c5 = program.env[5] ;
DP4  r1.y , v0 , c5;
PARAM c6 = program.env[6] ;
DP4  r1.z , v0 , c6;
PARAM c7 = program.env[7] ;
DP4  r1.w , v0 , c7;
PARAM c0 = program.env[0] ;
OUTPUT oPos =  result.position ;  
TEMP ooPos; 
DP4  oPos.x , r1 , c0;
DP4  ooPos.x , r1 , c0;
PARAM c1 = program.env[1] ;
DP4  oPos.y , r1 , c1;
DP4  ooPos.y , r1 , c1;
PARAM c2 = program.env[2] ;
DP4  oPos.z , r1 , c2;
DP4  ooPos.z , r1 , c2;
PARAM c8 = program.env[8] ;
TEMP r2 ;
MOV  r2 , c8;
TEMP r0 ;
MUL  r0 , r2.y , c5;
PARAM c3 = program.env[3] ;
DP4  oPos.w , r1 , c3;
DP4  ooPos.w , r1 , c3;
MAD  r0 , c4 , r2.x , r0;
TEMP r3 ;
MAD  r3 , c6 , r2.z , r0;
PARAM c9 = program.env[9] ;
MOV  r1 , c9;
MUL  r0 , r1.y , c5;
MAD  r2 , c7 , r2.w , r3;
MAD  r0 , c4 , r1.x , r0;
TEMP r4 ;
MAD  r4 , c6 , r1.z , r0;
PARAM c10 = program.env[10] ;
MOV  r0 , c10;
MUL  r3 , r0.y , c5;
MAD  r1 , c7 , r1.w , r4;
MAD  r3 , c4 , r0.x , r3;
MAD  r3 , c6 , r0.z , r3;
MAD  r4.xyz , c22.x , v1.zyxw , c22.y;
MAD  r0 , c7 , r0.w , r3;
DP3  r3.x , r4 , r2;
DP3  r3.y , r4 , r1;
DP3  r3.z , r4 , r0;
DP4  r2.x , v0 , r2;
DP3  r4.x , r3 , r3;
DP4  r2.y , v0 , r1;
RSQ  r1.w , r4.x;
MUL  r1.xyz , r3 , r1.w;
PARAM c19 = program.env[19] ;
MOV  r4.xyz , c19;
PARAM c15 = program.env[15] ;
MUL  r3.xyz , r4 , c15;
DP4  r2.z , v0 , r0;
DP3  r0.x , r3 , r1;
TEMP r5 ;
DP3  r5.x , -r2 , -r2;
MAX  r0.w , r0.x , c22.z;
PARAM c12 = program.env[12] ;
MUL  r0.xyz , r0.w , c12;
PARAM c20 = program.env[20] ;
MOV  r3.xyz , c20;
PARAM c11 = program.env[11] ;
ADD  r3.xyz , r3 , c11;
MAD  r3.xyz , r0 , c15.w , r3;
PARAM c16 = program.env[16] ;
MUL  r0.xyz , r4 , c16;
TEMP r6 ;
DP3  r6.x , r0 , r1;
PARAM c17 = program.env[17] ;
MUL  r0.xyz , r4 , c17;
MAX  r0.w , r6.x , c22.z;
DP3  r4.x , r0 , r1;
PARAM c13 = program.env[13] ;
MUL  r0.xyz , r0.w , c13;
MAX  r0.w , r4.x , c22.z;
MAD  r3.xyz , r0 , c16.w , r3;
PARAM c14 = program.env[14] ;
MUL  r0.xyz , r0.w , c14;
RSQ  r0.w , r5.x;
MAD  r3.xyz , r0 , c17.w , r3;
MUL  r2.xyz , -r2 , r0.w;
ADD  r0.xyz , -r3 , c22.w;
DP3  r4.x , -r2 , r1;
PARAM c21 = program.env[21] ;
MAD  r0.xyz , c21 , r0 , r3;
MUL  r0.xyz , r0 , v2;
MOV  r0.w , v2.w;
ADD  r1.w , r4.x , r4.x;
MAX  r0 , r0 , c22.z;
MAD  r1.xyz , r1 , -r1.w , -r2;
MIN  r0 , r0 , c22.w;
MUL  r2.xyz , r1.y , c9;
PARAM c18 = program.env[18] ;
MUL  r0 , r0 , c18;
MAD  r2.xyz , c8 , r1.x , r2;
MAX  r0 , r0 , c22.z;
OUTPUT oT0 = result.texcoord[0] ;
TEMP ooT0;
MOV ooT0, { 0, 0, 0 ,1};
MAD  oT0.xyz , c10 , r1.z , r2;
MAD  ooT0.xyz , c10 , r1.z , r2;
OUTPUT oD0 =  result.color.primary; 
MIN  oD0 , r0 , c22.w;
TEMP TempTexCoord ; 
MOV TempTexCoord , ooT0; 
MUL TempTexCoord.xy , TempTexCoord , program.local[0];
MOV  oT0, TempTexCoord; 
MUL ooPos.x , ooPos.x, u0;
MUL ooPos.y , ooPos.y, u1;
MUL ooPos.z , ooPos.z, u2;
MUL ooPos.w , ooPos.w, u3;
MOV oPos , ooPos;

END