//smoke halo
// ---- Created with geo-11 v0.7.9 on Sun Jul  5 15:59:07 2026
Texture3D<float4> t4 : register(t4);

TextureCube<float4> t3 : register(t3);

TextureCube<float4> t2 : register(t2);

Texture2D<float4> t1 : register(t1);

Texture2D<float4> t0 : register(t0);

SamplerState s3_s : register(s3);

SamplerState s2_s : register(s2);

SamplerState s1_s : register(s1);

SamplerState s0_s : register(s0);

cbuffer cb4 : register(b4)
{
  float4 cb4[7];
}

cbuffer cb3 : register(b3)
{
  float4 cb3[8];
}

cbuffer cb2 : register(b2)
{
  float4 cb2[47];
}

cbuffer cb1 : register(b1)
{
  float4 cb1[8];
}

cbuffer cb0 : register(b0)
{
  float4 cb0[12];
}




// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main(
  float4 v0 : SV_POSITION0,
  float4 v1 : TEXCOORD0,
  float3 v2 : TEXCOORD1,
  float4 v3 : COLOR0,
  float4 v4 : TEXCOORD2,
  float4 v5 : TEXCOORD3,
  float4 v6 : TEXCOORD4,
  float4 v7 : TEXCOORD6,
  out float4 o0 : SV_Target0)
{
  float4 r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12;
  uint4 bitmask, uiDest;
  float4 fDest;

float4 s = StereoParams.Load(0);
float4 testeo = IniParams.Load(int2(90,0));  

  r0.xyz = cb1[4].xyz + -v2.xyz;
  r0.w = dot(r0.xyz, r0.xyz);
  r0.w = rsqrt(r0.w);
  r1.xyz = r0.xyz * r0.www;
  r2.xyzw = t0.Sample(s2_s, v4.xy).xyzw;
  r2.xyzw = cb0[7].xyzw * r2.xyzw;
  r3.xyzw = v3.wxyz * r2.wxyz;
  r4.xy = cmp(float2(0,0) < cb0[10].xy);
  r1.w = (int)r4.y | (int)r4.x;
  if (r1.w != 0) {
	  
	v5.x += s.x * (v5.w - s.y) * 0.5;  
	  
    r4.xy = v5.xy / v5.ww;
    r4.xyzw = t1.Sample(s3_s, r4.xy).xyzw;
    r1.w = cb1[7].z * r4.x + cb1[7].w;
    r1.w = 1 / r1.w;
    r1.w = -cb0[10].x + r1.w;
    r1.w = -v5.z + r1.w;
    r1.w = saturate(cb0[10].y * r1.w);
    r3.x = r3.x * r1.w;
  }
  r1.w = -cb0[11].x + v5.z;
  r1.w = saturate(cb0[11].y * r1.w);
  o0.w = r3.x * r1.w;
  r1.w = cmp(cb4[0].x == 1.000000);
  if (r1.w != 0) {
    r2.w = cmp(cb4[0].y == 1.000000);
    r4.xyz = cb4[2].xyz * v2.yyy;
    r4.xyz = cb4[1].xyz * v2.xxx + r4.xyz;
    r4.xyz = cb4[3].xyz * v2.zzz + r4.xyz;
    r4.xyz = cb4[4].xyz + r4.xyz;
    r4.xyz = r2.www ? r4.xyz : v2.xyz;
    r4.xyz = -cb4[6].xyz + r4.xyz;
    r4.yzw = cb4[5].xyz * r4.xyz;
    r2.w = r4.y * 0.25 + 0.75;
    r3.x = cb4[0].z * 0.5 + 0.75;
    r4.x = max(r3.x, r2.w);
    r4.xyzw = t4.Sample(s1_s, r4.xzw).xyzw;
  } else {
    r4.xyzw = float4(1,1,1,1);
  }
  r2.w = saturate(dot(r4.xyzw, cb2[46].xyzw));
  r3.x = 1 + -cb0[9].y;
  r4.x = dot(-r1.xyz, v1.xyz);
  r4.x = r4.x + r4.x;
  r4.xyz = v1.xyz * -r4.xxx + -r1.xyz;
  r5.xyz = cb0[2].xyz * r2.www;
  if (r1.w != 0) {
    r1.w = cmp(cb4[0].y == 1.000000);
    r6.xyz = cb4[2].xyz * v2.yyy;
    r6.xyz = cb4[1].xyz * v2.xxx + r6.xyz;
    r6.xyz = cb4[3].xyz * v2.zzz + r6.xyz;
    r6.xyz = cb4[4].xyz + r6.xyz;
    r6.xyz = r1.www ? r6.xyz : v2.xyz;
    r6.xyz = -cb4[6].xyz + r6.xyz;
    r6.yzw = cb4[5].xyz * r6.xyz;
    r1.w = 0.25 * r6.y;
    r2.w = 0.5 * cb4[0].z;
    r4.w = -cb4[0].z * 0.5 + 0.25;
    r1.w = max(r2.w, r1.w);
    r6.x = min(r1.w, r4.w);
    r7.xyzw = t4.Sample(s1_s, r6.xzw).xyzw;
    r8.xyz = float3(0.25,0,0) + r6.xzw;
    r8.xyzw = t4.Sample(s1_s, r8.xyz).xyzw;
    r6.xyz = float3(0.5,0,0) + r6.xzw;
    r6.xyzw = t4.Sample(s1_s, r6.xyz).xyzw;
    r9.xyz = v1.xyz;
    r9.w = 1;
    r7.x = dot(r7.xyzw, r9.xyzw);
    r7.y = dot(r8.xyzw, r9.xyzw);
    r7.z = dot(r6.xyzw, r9.xyzw);
  } else {
    r6.xyz = v1.xyz;
    r6.w = 1;
    r7.x = dot(cb2[39].xyzw, r6.xyzw);
    r7.y = dot(cb2[40].xyzw, r6.xyzw);
    r7.z = dot(cb2[41].xyzw, r6.xyzw);
  }
  r6.xyz = v6.xyz + r7.xyz;
  r6.xyz = max(float3(0,0,0), r6.xyz);
  r6.xyz = log2(r6.xyz);
  r6.xyz = float3(0.416666657,0.416666657,0.416666657) * r6.xyz;
  r6.xyz = exp2(r6.xyz);
  r6.xyz = r6.xyz * float3(1.05499995,1.05499995,1.05499995) + float3(-0.0549999997,-0.0549999997,-0.0549999997);
  r6.xyz = max(float3(0,0,0), r6.xyz);
  r1.w = cmp(0 < cb3[2].w);
  if (r1.w != 0) {
    r1.w = dot(r4.xyz, r4.xyz);
    r1.w = rsqrt(r1.w);
    r7.xyz = r4.xyz * r1.www;
    r8.xyz = cb3[0].xyz + -v2.xyz;
    r8.xyz = r8.xyz / r7.xyz;
    r9.xyz = cb3[1].xyz + -v2.xyz;
    r9.xyz = r9.xyz / r7.xyz;
    r10.xyz = cmp(float3(0,0,0) < r7.xyz);
    r8.xyz = r10.xyz ? r8.xyz : r9.xyz;
    r1.w = min(r8.x, r8.y);
    r1.w = min(r1.w, r8.z);
    r8.xyz = -cb3[2].xyz + v2.xyz;
    r7.xyz = r7.xyz * r1.www + r8.xyz;
  } else {
    r7.xyz = r4.xyz;
  }
  r1.w = -r3.x * 0.699999988 + 1.70000005;
  r1.w = r3.x * r1.w;
  r1.w = 6 * r1.w;
  r7.xyzw = t2.SampleLevel(s0_s, r7.xyz, r1.w).xyzw;
  r2.w = -1 + r7.w;
  r2.w = cb3[3].w * r2.w + 1;
  r2.w = cb3[3].x * r2.w;
  r8.xyz = r2.www * r7.xyz;
  r4.w = cmp(cb3[1].w < 0.999989986);
  if (r4.w != 0) {
    r4.w = cmp(0 < cb3[6].w);
    if (r4.w != 0) {
      r4.w = dot(r4.xyz, r4.xyz);
      r4.w = rsqrt(r4.w);
      r9.xyz = r4.xyz * r4.www;
      r10.xyz = cb3[4].xyz + -v2.xyz;
      r10.xyz = r10.xyz / r9.xyz;
      r11.xyz = cb3[5].xyz + -v2.xyz;
      r11.xyz = r11.xyz / r9.xyz;
      r12.xyz = cmp(float3(0,0,0) < r9.xyz);
      r10.xyz = r12.xyz ? r10.xyz : r11.xyz;
      r4.w = min(r10.x, r10.y);
      r4.w = min(r4.w, r10.z);
      r10.xyz = -cb3[6].xyz + v2.xyz;
      r4.xyz = r9.xyz * r4.www + r10.xyz;
    }
    r4.xyzw = t3.SampleLevel(s0_s, r4.xyz, r1.w).xyzw;
    r1.w = -1 + r4.w;
    r1.w = cb3[7].w * r1.w + 1;
    r1.w = cb3[7].x * r1.w;
    r4.xyz = r1.www * r4.xyz;
    r7.xyz = r2.www * r7.xyz + -r4.xyz;
    r8.xyz = cb3[1].www * r7.xyz + r4.xyz;
  }
  r1.w = dot(v1.xyz, v1.xyz);
  r1.w = rsqrt(r1.w);
  r4.xyz = v1.xyz * r1.www;
  r2.xyz = r2.xyz * v3.xyz + float3(-0.220916301,-0.220916301,-0.220916301);
  r2.xyz = cb0[9].xxx * r2.xyz + float3(0.220916301,0.220916301,0.220916301);
  r1.w = -cb0[9].x * 0.779083729 + 0.779083729;
  r3.yzw = r3.yzw * r1.www;
  r0.xyz = r0.xyz * r0.www + cb2[0].xyz;
  r0.w = dot(r0.xyz, r0.xyz);
  r0.w = max(0.00100000005, r0.w);
  r0.w = rsqrt(r0.w);
  r0.xyz = r0.xyz * r0.www;
  r0.w = dot(r4.xyz, r1.xyz);
  r1.x = saturate(dot(r4.xyz, cb2[0].xyz));
  r1.y = saturate(dot(r4.xyz, r0.xyz));
  r0.x = saturate(dot(cb2[0].xyz, r0.xyz));
  r0.y = r0.x * r0.x;
  r0.y = dot(r0.yy, r3.xx);
  r0.y = -0.5 + r0.y;
  r0.z = 1 + -r1.x;
  r1.z = r0.z * r0.z;
  r1.z = r1.z * r1.z;
  r0.z = r1.z * r0.z;
  r0.z = r0.y * r0.z + 1;
  r1.z = 1 + -abs(r0.w);
  r2.w = r1.z * r1.z;
  r2.w = r2.w * r2.w;
  r1.z = r2.w * r1.z;
  r0.y = r0.y * r1.z + 1;
  r0.y = r0.z * r0.y;
  r0.z = r3.x * r3.x;
  r0.z = max(0.00200000009, r0.z);
  r2.w = 1 + -r0.z;
  r4.x = abs(r0.w) * r2.w + r0.z;
  r2.w = r1.x * r2.w + r0.z;
  r0.w = r2.w * abs(r0.w);
  r0.w = r1.x * r4.x + r0.w;
  r0.w = 9.99999975e-06 + r0.w;
  r0.w = 0.5 / r0.w;
  r2.w = r0.z * r0.z;
  r4.x = r1.y * r2.w + -r1.y;
  r1.y = r4.x * r1.y + 1;
  r2.w = 0.318309873 * r2.w;
  r1.y = r1.y * r1.y + 1.00000001e-07;
  r1.y = r2.w / r1.y;
  r0.w = r1.y * r0.w;
  r0.zw = float2(0.280000001,3.14159274) * r0.zw;
  r0.w = max(9.99999975e-05, r0.w);
  r0.w = sqrt(r0.w);
  r0.yw = r0.yw * r1.xx;
  r0.z = -r0.z * r3.x + 1;
  r1.x = dot(r2.xyz, r2.xyz);
  r1.x = cmp(r1.x != 0.000000);
  r1.x = r1.x ? 1.000000 : 0;
  r0.w = r1.x * r0.w;
  r1.x = cb0[9].y + -r1.w;
  r1.x = saturate(1 + r1.x);
  r4.xyz = r5.xyz * r0.yyy + r6.xyz;
  r5.xyz = r0.www * r5.xyz;
  r0.x = 1 + -r0.x;
  r0.y = r0.x * r0.x;
  r0.y = r0.y * r0.y;
  r0.x = r0.y * r0.x;
  r6.xyz = float3(1,1,1) + -r2.xyz;
  r0.xyw = r6.xyz * r0.xxx + r2.xyz;
  r0.xyw = r5.xyz * r0.xyw;
  r0.xyw = r3.yzw * r4.xyz + r0.xyw;
  r3.xyz = r0.zzz * r8.xyz;
  r1.xyw = r1.xxx + -r2.xyz;
  r1.xyz = r1.zzz * r1.xyw + r2.xyz;
  o0.xyz = r3.xyz * r1.xyz + r0.xyw;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.7.9 on Sun Jul  5 15:59:07 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float
// TEXCOORD                 0   xyz         1     NONE   float   xyz
// TEXCOORD                 1   xyz         2     NONE   float   xyz
// COLOR                    0   xyzw        3     NONE   float   xyzw
// TEXCOORD                 2   xy          4     NONE   float   xy
// TEXCOORD                 3   xyzw        5     NONE   float   xyzw
// TEXCOORD                 4   xyz         6     NONE   float   xyz
// TEXCOORD                 6   xyzw        7     NONE   float
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_4_0
dcl_constantbuffer CB0[12], immediateIndexed
dcl_constantbuffer CB1[8], immediateIndexed
dcl_constantbuffer CB2[47], immediateIndexed
dcl_constantbuffer CB3[8], immediateIndexed
dcl_constantbuffer CB4[7], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s1, mode_default
dcl_sampler s2, mode_default
dcl_sampler s3, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_texture2d (float,float,float,float) t1
dcl_resource_texturecube (float,float,float,float) t2
dcl_resource_texturecube (float,float,float,float) t3
dcl_resource_texture3d (float,float,float,float) t4
dcl_input_ps linear v1.xyz
dcl_input_ps linear v2.xyz
dcl_input_ps linear v3.xyzw
dcl_input_ps linear v4.xy
dcl_input_ps linear v5.xyzw
dcl_input_ps linear v6.xyz
dcl_output o0.xyzw
dcl_temps 13
add r0.xyz, -v2.xyzx, cb1[4].xyzx
dp3 r0.w, r0.xyzx, r0.xyzx
rsq r0.w, r0.w
mul r1.xyz, r0.wwww, r0.xyzx
sample r2.xyzw, v4.xyxx, t0.xyzw, s2
mul r2.xyzw, r2.xyzw, cb0[7].xyzw
mul r3.xyzw, r2.wxyz, v3.wxyz
lt r4.xy, l(0.000000, 0.000000, 0.000000, 0.000000), cb0[10].xyxx
or r1.w, r4.y, r4.x
if_nz r1.w
  div r4.xy, v5.xyxx, v5.wwww
  sample r4.xyzw, r4.xyxx, t1.xyzw, s3
  mad r1.w, cb1[7].z, r4.x, cb1[7].w
  div r1.w, l(1.000000, 1.000000, 1.000000, 1.000000), r1.w
  add r1.w, r1.w, -cb0[10].x
  add r1.w, r1.w, -v5.z
  mul_sat r1.w, r1.w, cb0[10].y
  mul r3.x, r1.w, r3.x
endif
add r1.w, v5.z, -cb0[11].x
mul_sat r1.w, r1.w, cb0[11].y
mul o0.w, r1.w, r3.x
eq r1.w, cb4[0].x, l(1.000000)
if_nz r1.w
  eq r2.w, cb4[0].y, l(1.000000)
  mul r4.xyz, v2.yyyy, cb4[2].xyzx
  mad r4.xyz, cb4[1].xyzx, v2.xxxx, r4.xyzx
  mad r4.xyz, cb4[3].xyzx, v2.zzzz, r4.xyzx
  add r4.xyz, r4.xyzx, cb4[4].xyzx
  movc r4.xyz, r2.wwww, r4.xyzx, v2.xyzx
  add r4.xyz, r4.xyzx, -cb4[6].xyzx
  mul r4.yzw, r4.xxyz, cb4[5].xxyz
  mad r2.w, r4.y, l(0.250000), l(0.750000)
  mad r3.x, cb4[0].z, l(0.500000), l(0.750000)
  max r4.x, r2.w, r3.x
  sample r4.xyzw, r4.xzwx, t4.xyzw, s1
else
  mov r4.xyzw, l(1.000000,1.000000,1.000000,1.000000)
endif
dp4_sat r2.w, r4.xyzw, cb2[46].xyzw
add r3.x, -cb0[9].y, l(1.000000)
dp3 r4.x, -r1.xyzx, v1.xyzx
add r4.x, r4.x, r4.x
mad r4.xyz, v1.xyzx, -r4.xxxx, -r1.xyzx
mul r5.xyz, r2.wwww, cb0[2].xyzx
if_nz r1.w
  eq r1.w, cb4[0].y, l(1.000000)
  mul r6.xyz, v2.yyyy, cb4[2].xyzx
  mad r6.xyz, cb4[1].xyzx, v2.xxxx, r6.xyzx
  mad r6.xyz, cb4[3].xyzx, v2.zzzz, r6.xyzx
  add r6.xyz, r6.xyzx, cb4[4].xyzx
  movc r6.xyz, r1.wwww, r6.xyzx, v2.xyzx
  add r6.xyz, r6.xyzx, -cb4[6].xyzx
  mul r6.yzw, r6.xxyz, cb4[5].xxyz
  mul r1.w, r6.y, l(0.250000)
  mul r2.w, cb4[0].z, l(0.500000)
  mad r4.w, -cb4[0].z, l(0.500000), l(0.250000)
  max r1.w, r1.w, r2.w
  min r6.x, r4.w, r1.w
  sample r7.xyzw, r6.xzwx, t4.xyzw, s1
  add r8.xyz, r6.xzwx, l(0.250000, 0.000000, 0.000000, 0.000000)
  sample r8.xyzw, r8.xyzx, t4.xyzw, s1
  add r6.xyz, r6.xzwx, l(0.500000, 0.000000, 0.000000, 0.000000)
  sample r6.xyzw, r6.xyzx, t4.xyzw, s1
  mov r9.xyz, v1.xyzx
  mov r9.w, l(1.000000)
  dp4 r7.x, r7.xyzw, r9.xyzw
  dp4 r7.y, r8.xyzw, r9.xyzw
  dp4 r7.z, r6.xyzw, r9.xyzw
else
  mov r6.xyz, v1.xyzx
  mov r6.w, l(1.000000)
  dp4 r7.x, cb2[39].xyzw, r6.xyzw
  dp4 r7.y, cb2[40].xyzw, r6.xyzw
  dp4 r7.z, cb2[41].xyzw, r6.xyzw
endif
add r6.xyz, r7.xyzx, v6.xyzx
max r6.xyz, r6.xyzx, l(0.000000, 0.000000, 0.000000, 0.000000)
log r6.xyz, r6.xyzx
mul r6.xyz, r6.xyzx, l(0.416666657, 0.416666657, 0.416666657, 0.000000)
exp r6.xyz, r6.xyzx
mad r6.xyz, r6.xyzx, l(1.055000, 1.055000, 1.055000, 0.000000), l(-0.055000, -0.055000, -0.055000, 0.000000)
max r6.xyz, r6.xyzx, l(0.000000, 0.000000, 0.000000, 0.000000)
lt r1.w, l(0.000000), cb3[2].w
if_nz r1.w
  dp3 r1.w, r4.xyzx, r4.xyzx
  rsq r1.w, r1.w
  mul r7.xyz, r1.wwww, r4.xyzx
  add r8.xyz, -v2.xyzx, cb3[0].xyzx
  div r8.xyz, r8.xyzx, r7.xyzx
  add r9.xyz, -v2.xyzx, cb3[1].xyzx
  div r9.xyz, r9.xyzx, r7.xyzx
  lt r10.xyz, l(0.000000, 0.000000, 0.000000, 0.000000), r7.xyzx
  movc r8.xyz, r10.xyzx, r8.xyzx, r9.xyzx
  min r1.w, r8.y, r8.x
  min r1.w, r8.z, r1.w
  add r8.xyz, v2.xyzx, -cb3[2].xyzx
  mad r7.xyz, r7.xyzx, r1.wwww, r8.xyzx
else
  mov r7.xyz, r4.xyzx
endif
mad r1.w, -r3.x, l(0.700000), l(1.700000)
mul r1.w, r1.w, r3.x
mul r1.w, r1.w, l(6.000000)
sample_l r7.xyzw, r7.xyzx, t2.xyzw, s0, r1.w
add r2.w, r7.w, l(-1.000000)
mad r2.w, cb3[3].w, r2.w, l(1.000000)
mul r2.w, r2.w, cb3[3].x
mul r8.xyz, r7.xyzx, r2.wwww
lt r4.w, cb3[1].w, l(0.999990)
if_nz r4.w
  lt r4.w, l(0.000000), cb3[6].w
  if_nz r4.w
    dp3 r4.w, r4.xyzx, r4.xyzx
    rsq r4.w, r4.w
    mul r9.xyz, r4.wwww, r4.xyzx
    add r10.xyz, -v2.xyzx, cb3[4].xyzx
    div r10.xyz, r10.xyzx, r9.xyzx
    add r11.xyz, -v2.xyzx, cb3[5].xyzx
    div r11.xyz, r11.xyzx, r9.xyzx
    lt r12.xyz, l(0.000000, 0.000000, 0.000000, 0.000000), r9.xyzx
    movc r10.xyz, r12.xyzx, r10.xyzx, r11.xyzx
    min r4.w, r10.y, r10.x
    min r4.w, r10.z, r4.w
    add r10.xyz, v2.xyzx, -cb3[6].xyzx
    mad r4.xyz, r9.xyzx, r4.wwww, r10.xyzx
  endif
  sample_l r4.xyzw, r4.xyzx, t3.xyzw, s0, r1.w
  add r1.w, r4.w, l(-1.000000)
  mad r1.w, cb3[7].w, r1.w, l(1.000000)
  mul r1.w, r1.w, cb3[7].x
  mul r4.xyz, r4.xyzx, r1.wwww
  mad r7.xyz, r2.wwww, r7.xyzx, -r4.xyzx
  mad r8.xyz, cb3[1].wwww, r7.xyzx, r4.xyzx
endif
dp3 r1.w, v1.xyzx, v1.xyzx
rsq r1.w, r1.w
mul r4.xyz, r1.wwww, v1.xyzx
mad r2.xyz, r2.xyzx, v3.xyzx, l(-0.220916301, -0.220916301, -0.220916301, 0.000000)
mad r2.xyz, cb0[9].xxxx, r2.xyzx, l(0.220916301, 0.220916301, 0.220916301, 0.000000)
mad r1.w, -cb0[9].x, l(0.779083729), l(0.779083729)
mul r3.yzw, r1.wwww, r3.yyzw
mad r0.xyz, r0.xyzx, r0.wwww, cb2[0].xyzx
dp3 r0.w, r0.xyzx, r0.xyzx
max r0.w, r0.w, l(0.001000)
rsq r0.w, r0.w
mul r0.xyz, r0.wwww, r0.xyzx
dp3 r0.w, r4.xyzx, r1.xyzx
dp3_sat r1.x, r4.xyzx, cb2[0].xyzx
dp3_sat r1.y, r4.xyzx, r0.xyzx
dp3_sat r0.x, cb2[0].xyzx, r0.xyzx
mul r0.y, r0.x, r0.x
dp2 r0.y, r0.yyyy, r3.xxxx
add r0.y, r0.y, l(-0.500000)
add r0.z, -r1.x, l(1.000000)
mul r1.z, r0.z, r0.z
mul r1.z, r1.z, r1.z
mul r0.z, r0.z, r1.z
mad r0.z, r0.y, r0.z, l(1.000000)
add r1.z, -|r0.w|, l(1.000000)
mul r2.w, r1.z, r1.z
mul r2.w, r2.w, r2.w
mul r1.z, r1.z, r2.w
mad r0.y, r0.y, r1.z, l(1.000000)
mul r0.y, r0.y, r0.z
mul r0.z, r3.x, r3.x
max r0.z, r0.z, l(0.002000)
add r2.w, -r0.z, l(1.000000)
mad r4.x, |r0.w|, r2.w, r0.z
mad r2.w, r1.x, r2.w, r0.z
mul r0.w, |r0.w|, r2.w
mad r0.w, r1.x, r4.x, r0.w
add r0.w, r0.w, l(0.000010)
div r0.w, l(0.500000), r0.w
mul r2.w, r0.z, r0.z
mad r4.x, r1.y, r2.w, -r1.y
mad r1.y, r4.x, r1.y, l(1.000000)
mul r2.w, r2.w, l(0.318309873)
mad r1.y, r1.y, r1.y, l(1.000000012E-07)
div r1.y, r2.w, r1.y
mul r0.w, r0.w, r1.y
mul r0.zw, r0.zzzw, l(0.000000, 0.000000, 0.280000, 3.14159274)
max r0.w, r0.w, l(0.000100)
sqrt r0.w, r0.w
mul r0.yw, r1.xxxx, r0.yyyw
mad r0.z, -r0.z, r3.x, l(1.000000)
dp3 r1.x, r2.xyzx, r2.xyzx
ne r1.x, r1.x, l(0.000000)
and r1.x, r1.x, l(0x3f800000)
mul r0.w, r0.w, r1.x
add r1.x, -r1.w, cb0[9].y
add_sat r1.x, r1.x, l(1.000000)
mad r4.xyz, r5.xyzx, r0.yyyy, r6.xyzx
mul r5.xyz, r5.xyzx, r0.wwww
add r0.x, -r0.x, l(1.000000)
mul r0.y, r0.x, r0.x
mul r0.y, r0.y, r0.y
mul r0.x, r0.x, r0.y
add r6.xyz, -r2.xyzx, l(1.000000, 1.000000, 1.000000, 0.000000)
mad r0.xyw, r6.xyxz, r0.xxxx, r2.xyxz
mul r0.xyw, r0.xyxw, r5.xyxz
mad r0.xyw, r3.yzyw, r4.xyxz, r0.xyxw
mul r3.xyz, r8.xyzx, r0.zzzz
add r1.xyw, -r2.xyxz, r1.xxxx
mad r1.xyz, r1.zzzz, r1.xywx, r2.xyzx
mad o0.xyz, r3.xyzx, r1.xyzx, r0.xywx
ret
// Approximately 0 instruction slots used

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
