// MANUALLY DUMPED [ShaderRegexDecalsMain_backup] Exception 1. Ambient occlusion.
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//   using 3Dmigoto v1.3.16 on Fri Oct  1 19:08:36 2021
//
//
// Buffer Definitions:
//
// cbuffer fblock
// {
//
//   float4 renderpositiontoviewtexture;// Index:    0.xyzw           Components:     4
//   float4 inverseprojectionmatrixx;   // Index:    1.xyzw           Components:     4
//   float4 inverseprojectionmatrixy;   // Index:    2.xyzw           Components:     4
//   float4 inverseprojectionmatrixz;   // Index:    3.xyzw           Components:     4
//   float4 inverseprojectionmatrixw;   // Index:    4.xyzw           Components:     4
//   float4 ssaocommon;                 // Index:    5.xyzw           Components:     4
//   float4 viewmatrixx;                // Index:    6.xyzw           Components:     4
//   float4 viewmatrixy;                // Index:    7.xyzw           Components:     4
//   float4 viewmatrixz;                // Index:    8.xyzw           Components:     4
//   float4 hbaoparm;                   // Index:    9.xyzw           Components:     4
//   float4 genericshaderparm;          // Index:   10.xyzw           Components:     4
//   float4 hbaoradiuspbr;              // Index:   11.xyzw           Components:     4 [unused]
//   float4 hbaobiaspbr;                // Index:   12.xyzw           Components:     4
//   float4 ssaopowerexppbr;            // Index:   13.xyzw           Components:     4 [unused]
//   float4 renderpassparm2;            // Index:   14.xyzw           Components:     4
//   float4 projectionmatrixz;          // Index:   15.xyzw           Components:     4
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// viewdepthmap_samp_state           sampler      NA          NA    0        1
// packedgbuffer0main_samp_state     sampler      NA          NA    1        1
// ssaorandom_samp_state             sampler      NA          NA    2        1
// viewdepthmap16_samp_state         sampler      NA          NA    3        1
// viewdepthmap_samp                 texture  float4          2d    0        1
// packedgbuffer0main_samp           texture  float4          2d    1        1
// ssaorandom_samp                   texture  float4          2d    2        1
// viewdepthmap16_samp               texture  float4          2d    3        1
// fblock                            cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xy
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[16], 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_texture2d (float,float,float,float) t2
dcl_resource_texture2d (float,float,float,float) t3
dcl_input_ps_siv linear noperspective v0.xy, position
dcl_output o0.xyzw
dcl_temps 15
dcl_resource_texture2d (float,float,float,float) t125
mad r0.xy, v0.xyxx, cb0[0].zwzz, cb0[0].xyxx
sample_aoffimmi_indexable(0,0,0)(texture2d)(float,float,float,float) r1.z, r0.xyxx, t0.yzxw, s0
ge r0.w, r1.z, l(1.000000)
mov o0.xyzw, l(1.000000,0,0,0)
retc_nz r0.w
add r0.z, -r0.y, l(1.000000)
mad r1.xy, r0.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r1.w, l(1.000000)


ld_indexable(texture2d)(float,float,float,float) r10.xyzw, l(0, 0, 0, 0), t125.xyzw
mov r12.xyzw, r1.xyzw
//dp4 r11.w, r12.xyzw, cb0[4].xyzw
//mad r11.x, r11.w, r10.y, l(-1.0)
//mad r12.x, r11.x, r10.x, r12.x
dp4 r2.x, r12.xyzw, cb0[1].xyzw
dp4 r2.y, r12.xyzw, cb0[2].xyzw
dp4 r2.z, r12.xyzw, cb0[3].xyzw
dp4 r0.z, r12.xyzw, cb0[4].xyzw
div r1.xyw, r2.xyxz, r0.zzzz

sample_l_indexable(texture2d)(float,float,float,float) r2.xyzw, r0.xyxx, t1.xyzw, s1, l(0.000000)
eq r0.z, cb0[5].z, l(0.000000)
mul r2.xyzw, r2.zwxy, l(65535.000000, 65535.000000, 65535.000000, 65535.000000)
ftou r2.xyzw, r2.xyzw
ubfe r2.xyzw, l(8, 8, 8, 8), l(8, 8, 8, 8), r2.xyzw
utof r2.xyzw, r2.xyzw
mad r2.xyzw, r2.xyzw, l(0.00784313772, 0.00784313772, 0.00784313772, 0.00784313772), l(-1.000000, -1.000000, -1.000000, -1.000000)
add r3.xyz, -|r2.xyxx|, l(1.000000, 1.000000, 1.000000, 0.000000)
add r4.z, -|r2.y|, r3.x
ge r0.w, r4.z, l(0.000000)
ge r5.xyzw, r2.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000)
movc r5.xyzw, r5.xyzw, l(1.000000,1.000000,1.000000,1.000000), l(-1.000000,-1.000000,-1.000000,-1.000000)
mul r3.xy, r3.yzyy, r5.xyxx
movc r4.xy, r0.wwww, r2.xyxx, r3.xyxx
dp3 r0.w, r4.xyzx, r4.xyzx
rsq r0.w, r0.w
mul r3.xyz, r0.wwww, r4.xyzx
mad r3.xyz, r3.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000), l(0.500000, 0.500000, 0.500000, 0.000000)
add r4.xyz, -|r2.zwzz|, l(1.000000, 1.000000, 1.000000, 0.000000)
add r6.z, -|r2.w|, r4.x
ge r0.w, r6.z, l(0.000000)
mul r2.xy, r5.zwzz, r4.yzyy
movc r6.xy, r0.wwww, r2.zwzz, r2.xyxx
dp3 r0.w, r6.xyzx, r6.xyzx
rsq r0.w, r0.w
mul r2.xyz, r0.wwww, r6.xyzx
mad r2.xyz, r2.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000), l(0.500000, 0.500000, 0.500000, 0.000000)
movc r2.xyz, r0.zzzz, r3.xyzx, r2.xyzx
mad r2.xyz, r2.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
dp3 r0.z, r2.xyzx, r2.xyzx
rsq r0.z, r0.z
mul r2.xyz, r0.zzzz, r2.xyzx
dp3 r3.x, r2.xyzx, cb0[6].xyzx
dp3 r3.y, r2.xyzx, cb0[7].xyzx
dp3 r3.z, r2.xyzx, cb0[8].xyzx
mul r0.zw, v0.xxxy, l(0.000000, 0.000000, 0.250000, 0.250000)
sample_l_indexable(texture2d)(float,float,float,float) r0.zw, r0.zwzz, t2.zwxy, s2, l(0.000000)
div r2.x, cb0[9].x, r1.w
mul r2.y, r2.x, l(0.200000)
ftou r2.zw, v0.xxxy
ubfe r3.w, l(1), l(1), r2.z
iadd r4.x, -r3.w, l(1)
imul null, r3.w, r3.w, l(0x596ad1e2)
imad r3.w, l(0x7b48f3c0), r4.x, r3.w
bfi r2.z, l(1), l(4), r2.z, l(0)
bfi r2.z, l(2), l(2), r2.w, r2.z
ushr r2.z, r3.w, r2.z
ftoi r2.w, cb0[14].w
iadd r2.z, r2.w, r2.z
and r2.z, r2.z, l(15)
utof r2.z, r2.z
mul r2.y, r2.y, r2.z
mad r2.y, r2.y, l(0.0666666701), l(1.000000)
mul r2.zw, r0.zzzw, r2.yyyy
round_ne r2.zw, r2.zzzw
mad r4.xy, r2.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r2.z, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r2.zzzz
mad r2.z, r2.x, l(0.200000), r2.y
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r2.w, r4.xyzx, r4.xyzx
dp3 r3.w, r3.xyzx, r4.xyzx
rsq r4.x, r2.w
mad_sat r3.w, r3.w, r4.x, -cb0[12].x
mad_sat r2.w, r2.w, cb0[9].z, l(1.000000)
mul r4.xy, r0.zwzz, r2.zzzz
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r4.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r4.wwww
mad r4.w, r2.x, l(0.200000), r2.z
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r5.x, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r5.x
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r4.y, r5.x, cb0[9].z, l(1.000000)
mul r4.x, r4.y, r4.x
mad r2.w, r3.w, r2.w, r4.x
mul r4.xy, r0.zwzz, r4.wwww
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r3.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
mad r2.x, r2.x, l(0.200000), r4.w
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r4.xy, r0.zwzz, r2.xxxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r3.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r4.xy, r0.zwzz, l(0.707106769, 0.707106769, 0.000000, 0.000000)
mad r5.x, r0.z, l(0.707106769), -r4.y
add r5.y, r4.x, r4.y
mul r5.zw, r2.yyyy, r5.xxxy
round_ne r5.zw, r5.zzzw
mad r6.xy, r5.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r7.z, r6.xyxx, t3.yzxw, s3, l(0.000000)
add r6.z, -r6.y, l(1.000000)
mad r7.xy, r6.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r7.w, l(1.000000)
dp4 r6.x, r7.xyzw, cb0[1].xyzw
dp4 r6.y, r7.xyzw, cb0[2].xyzw
dp4 r6.z, r7.xyzw, cb0[3].xyzw
dp4 r3.w, r7.xyzw, cb0[4].xyzw
div r6.xyz, r6.xyzx, r3.wwww
add r6.xyz, -r1.xywx, r6.xyzx
dp3 r3.w, r6.xyzx, r6.xyzx
dp3 r4.z, r3.xyzx, r6.xyzx
rsq r5.z, r3.w
mad_sat r4.z, r4.z, r5.z, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.zw, r2.zzzz, r5.xxxy
round_ne r5.zw, r5.zzzw
mad r6.xy, r5.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r7.z, r6.xyxx, t3.yzxw, s3, l(0.000000)
add r6.z, -r6.y, l(1.000000)
mad r7.xy, r6.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r7.w, l(1.000000)
dp4 r6.x, r7.xyzw, cb0[1].xyzw
dp4 r6.y, r7.xyzw, cb0[2].xyzw
dp4 r6.z, r7.xyzw, cb0[3].xyzw
dp4 r3.w, r7.xyzw, cb0[4].xyzw
div r6.xyz, r6.xyzx, r3.wwww
add r6.xyz, -r1.xywx, r6.xyzx
dp3 r3.w, r6.xyzx, r6.xyzx
dp3 r4.z, r3.xyzx, r6.xyzx
rsq r5.z, r3.w
mad_sat r4.z, r4.z, r5.z, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.zw, r4.wwww, r5.xxxy
round_ne r5.zw, r5.zzzw
mad r6.xy, r5.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r7.z, r6.xyxx, t3.yzxw, s3, l(0.000000)
add r6.z, -r6.y, l(1.000000)
mad r7.xy, r6.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r7.w, l(1.000000)
dp4 r6.x, r7.xyzw, cb0[1].xyzw
dp4 r6.y, r7.xyzw, cb0[2].xyzw
dp4 r6.z, r7.xyzw, cb0[3].xyzw
dp4 r3.w, r7.xyzw, cb0[4].xyzw
div r6.xyz, r6.xyzx, r3.wwww
add r6.xyz, -r1.xywx, r6.xyzx
dp3 r3.w, r6.xyzx, r6.xyzx
dp3 r4.z, r3.xyzx, r6.xyzx
rsq r5.z, r3.w
mad_sat r4.z, r4.z, r5.z, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r2.xxxx, r5.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mad r5.x, r0.z, l(-4.371138829E-08), -r0.w
mad r5.y, r0.w, l(-4.371138829E-08), r0.z
mul r5.zw, r2.yyyy, r5.xxxy
round_ne r5.zw, r5.zzzw
mad r6.xy, r5.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r7.z, r6.xyxx, t3.yzxw, s3, l(0.000000)
add r6.z, -r6.y, l(1.000000)
mad r7.xy, r6.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r7.w, l(1.000000)
dp4 r6.x, r7.xyzw, cb0[1].xyzw
dp4 r6.y, r7.xyzw, cb0[2].xyzw
dp4 r6.z, r7.xyzw, cb0[3].xyzw
dp4 r3.w, r7.xyzw, cb0[4].xyzw
div r6.xyz, r6.xyzx, r3.wwww
add r6.xyz, -r1.xywx, r6.xyzx
dp3 r3.w, r6.xyzx, r6.xyzx
dp3 r4.z, r3.xyzx, r6.xyzx
rsq r5.z, r3.w
mad_sat r4.z, r4.z, r5.z, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.zw, r2.zzzz, r5.xxxy
round_ne r5.zw, r5.zzzw
mad r6.xy, r5.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r7.z, r6.xyxx, t3.yzxw, s3, l(0.000000)
add r6.z, -r6.y, l(1.000000)
mad r7.xy, r6.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r7.w, l(1.000000)
dp4 r6.x, r7.xyzw, cb0[1].xyzw
dp4 r6.y, r7.xyzw, cb0[2].xyzw
dp4 r6.z, r7.xyzw, cb0[3].xyzw
dp4 r3.w, r7.xyzw, cb0[4].xyzw
div r6.xyz, r6.xyzx, r3.wwww
add r6.xyz, -r1.xywx, r6.xyzx
dp3 r3.w, r6.xyzx, r6.xyzx
dp3 r4.z, r3.xyzx, r6.xyzx
rsq r5.z, r3.w
mad_sat r4.z, r4.z, r5.z, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.zw, r4.wwww, r5.xxxy
round_ne r5.zw, r5.zzzw
mad r6.xy, r5.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r7.z, r6.xyxx, t3.yzxw, s3, l(0.000000)
add r6.z, -r6.y, l(1.000000)
mad r7.xy, r6.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r7.w, l(1.000000)
dp4 r6.x, r7.xyzw, cb0[1].xyzw
dp4 r6.y, r7.xyzw, cb0[2].xyzw
dp4 r6.z, r7.xyzw, cb0[3].xyzw
dp4 r3.w, r7.xyzw, cb0[4].xyzw
div r6.xyz, r6.xyzx, r3.wwww
add r6.xyz, -r1.xywx, r6.xyzx
dp3 r3.w, r6.xyzx, r6.xyzx
dp3 r4.z, r3.xyzx, r6.xyzx
rsq r5.z, r3.w
mad_sat r4.z, r4.z, r5.z, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r2.xxxx, r5.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mad r5.x, r0.z, l(-0.707106769), -r4.y
mad r5.y, r0.w, l(-0.707106769), r4.x
mul r4.xy, r2.yyyy, r5.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r6.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r4.x, r6.xyzw, cb0[1].xyzw
dp4 r4.y, r6.xyzw, cb0[2].xyzw
dp4 r4.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r4.xy, r2.zzzz, r5.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r6.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r4.x, r6.xyzw, cb0[1].xyzw
dp4 r4.y, r6.xyzw, cb0[2].xyzw
dp4 r4.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r4.xy, r4.wwww, r5.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r6.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r4.x, r6.xyzw, cb0[1].xyzw
dp4 r4.y, r6.xyzw, cb0[2].xyzw
dp4 r4.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r4.xy, r2.xxxx, r5.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r3.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mad r4.x, -r0.w, l(-8.742277657E-08), -r0.z
mad r4.y, r0.z, l(-8.742277657E-08), -r0.w
mul r5.xy, r2.yyyy, r4.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r2.zzzz, r4.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r4.xyxx, r4.wwww
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r4.xy, r2.xxxx, r4.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r3.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r3.w, r0.w, l(-0.707106888)
mad r4.x, r0.z, l(-0.707106650), -r3.w
dp2 r4.y, r0.wzww, l(-0.707106650, -0.707106888, 0.000000, 0.000000)
mul r5.xy, r2.yyyy, r4.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r2.zzzz, r4.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r4.xyxx, r4.wwww
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r4.xy, r2.xxxx, r4.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r3.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mad r4.x, r0.z, l(1.192488064E-08), r0.w
mad r4.y, r0.w, l(1.192488064E-08), -r0.z
mul r5.xy, r2.yyyy, r4.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r2.zzzz, r4.xyxx
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r5.xy, r4.xyxx, r4.wwww
round_ne r5.xy, r5.xyxx
mad r5.xy, r5.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r3.w, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r3.wwww
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r3.w, r5.xyzx, r5.xyzx
dp3 r4.z, r3.xyzx, r5.xyzx
rsq r5.x, r3.w
mad_sat r4.z, r4.z, r5.x, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.z, r3.w, r2.w
mul r4.xy, r2.xxxx, r4.xyxx
round_ne r4.xy, r4.xyxx
mad r4.xy, r4.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r5.z, r4.xyxx, t3.yzxw, s3, l(0.000000)
add r4.z, -r4.y, l(1.000000)
mad r5.xy, r4.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r5.w, l(1.000000)
dp4 r4.x, r5.xyzw, cb0[1].xyzw
dp4 r4.y, r5.xyzw, cb0[2].xyzw
dp4 r4.z, r5.xyzw, cb0[3].xyzw
dp4 r3.w, r5.xyzw, cb0[4].xyzw
div r4.xyz, r4.xyzx, r3.wwww
add r4.xyz, -r1.xywx, r4.xyzx
dp3 r3.w, r4.xyzx, r4.xyzx
dp3 r4.x, r3.xyzx, r4.xyzx
rsq r4.y, r3.w
mad_sat r4.x, r4.x, r4.y, -cb0[12].x
mad_sat r3.w, r3.w, cb0[9].z, l(1.000000)
mad r2.w, r4.x, r3.w, r2.w
mul r3.w, r0.w, l(-0.707106531)
mad r4.x, r0.z, l(0.707107), -r3.w
dp2 r4.y, r0.wzww, l(0.707107, -0.707106531, 0.000000, 0.000000)
mul r0.zw, r2.yyyy, r4.xxxy
round_ne r0.zw, r0.zzzw
mad r5.xy, r0.zwzz, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r0.z, r6.xyzw, cb0[4].xyzw
div r5.xyz, r5.xyzx, r0.zzzz
add r5.xyz, -r1.xywx, r5.xyzx
dp3 r0.z, r5.xyzx, r5.xyzx
dp3 r0.w, r3.xyzx, r5.xyzx
rsq r2.y, r0.z
mad_sat r0.w, r0.w, r2.y, -cb0[12].x
mad_sat r0.z, r0.z, cb0[9].z, l(1.000000)
mad r0.z, r0.w, r0.z, r2.w
mul r2.yz, r2.zzzz, r4.xxyx
round_ne r2.yz, r2.yyzy
mad r5.xy, r2.yzyy, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r0.w, r6.xyzw, cb0[4].xyzw
div r2.yzw, r5.xxyz, r0.wwww
add r2.yzw, -r1.xxyw, r2.yyzw
dp3 r0.w, r2.yzwy, r2.yzwy
dp3 r2.y, r3.xyzx, r2.yzwy
rsq r2.z, r0.w
mad_sat r2.y, r2.y, r2.z, -cb0[12].x
mad_sat r0.w, r0.w, cb0[9].z, l(1.000000)
mad r0.z, r2.y, r0.w, r0.z
mul r2.yz, r4.xxyx, r4.wwww
round_ne r2.yz, r2.yyzy
mad r5.xy, r2.yzyy, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r6.z, r5.xyxx, t3.yzxw, s3, l(0.000000)
add r5.z, -r5.y, l(1.000000)
mad r6.xy, r5.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r6.w, l(1.000000)
dp4 r5.x, r6.xyzw, cb0[1].xyzw
dp4 r5.y, r6.xyzw, cb0[2].xyzw
dp4 r5.z, r6.xyzw, cb0[3].xyzw
dp4 r0.w, r6.xyzw, cb0[4].xyzw
div r2.yzw, r5.xxyz, r0.wwww
add r2.yzw, -r1.xxyw, r2.yyzw
dp3 r0.w, r2.yzwy, r2.yzwy
dp3 r2.y, r3.xyzx, r2.yzwy
rsq r2.z, r0.w
mad_sat r2.y, r2.y, r2.z, -cb0[12].x
mad_sat r0.w, r0.w, cb0[9].z, l(1.000000)
mad r0.z, r2.y, r0.w, r0.z
mul r2.xy, r2.xxxx, r4.xyxx
round_ne r2.xy, r2.xyxx
mad r2.xy, r2.xyxx, cb0[10].xyxx, r0.xyxx
sample_l_indexable(texture2d)(float,float,float,float) r4.z, r2.xyxx, t3.yzxw, s3, l(0.000000)
add r2.z, -r2.y, l(1.000000)
mad r4.xy, r2.xzxx, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mov r4.w, l(1.000000)
dp4 r2.x, r4.xyzw, cb0[1].xyzw
dp4 r2.y, r4.xyzw, cb0[2].xyzw
dp4 r2.z, r4.xyzw, cb0[3].xyzw
dp4 r0.x, r4.xyzw, cb0[4].xyzw
div r0.xyw, r2.xyxz, r0.xxxx
add r0.xyw, -r1.xyxw, r0.xyxw
dp3 r2.x, r0.xywx, r0.xywx
dp3 r0.x, r3.xyzx, r0.xywx
rsq r0.y, r2.x
mad_sat r0.x, r0.x, r0.y, -cb0[12].x
mad_sat r0.y, r2.x, cb0[9].z, l(1.000000)
mad r0.x, r0.x, r0.y, r0.z
mul r0.x, r0.x, cb0[9].w
mad_sat r0.x, -r0.x, l(0.062500), l(1.000000)
dp3 r0.y, r1.xywx, r1.xywx
add r0.y, r0.y, l(-1224999936.000000)
mul_sat r0.y, r0.y, l(2.666666665E-09)
add r0.x, r0.y, r0.x
min o0.x, r0.x, l(1.000000)
add r0.x, r1.z, cb0[15].z
div o0.y, cb0[15].w, r0.x
mov o0.zw, l(0,0,0,0)
ret
// Approximately 705 instruction slots used
