// MANUALLY DUMPED [ShaderRegexTemporalAO2] Exception.
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Tue May 25 19:17:41 2021
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xy w
//
//
// 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[1], immediateIndexed
dcl_constantbuffer cb1[53], immediateIndexed
dcl_constantbuffer cb2[4], immediateIndexed
dcl_constantbuffer cb3[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s1, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_texture2d (float,float,float,float) t1
dcl_input_ps_siv linear noperspective v0.xyw, position
dcl_output o0.xyzw
dcl_temps 4
dcl_resource_texture2d (float,float,float,float) t125
add r0.xy, v0.xyxx, -cb2[1].xyxx
mad r0.xy, r0.xyxx, cb2[2].zwzz, l(-0.500000, -0.500000, 0.000000, 0.000000)
mul r0.xy, r0.xyxx, v0.wwww
mov r0.z, v0.w
mul r0.xyz, r0.xyzx, l(2.000000, -2.000000, 1.000000, 0.000000)

//ld_indexable(texture2d)(float,float,float,float) r3.xyzw, l(0, 0, 0, 0), t125.xyzw
//add r3.w, r0.z, -r3.y
//mad r0.x, -r3.x, r3.w, r0.x
div r0.xy, r0.xyxx, r0.zzzz
mad r0.xy, r0.xyxx, cb1[52].xyxx, cb1[52].wzww
sample_indexable(texture2d)(float,float,float,float) r0.xyzw, r0.xyxx, t1.xyzw, s1
dp3 r1.x, r0.xyzx, l(0.300000, 0.590000, 0.110000, 0.000000)
add r1.xyz, -r0.xyzx, r1.xxxx
mad r1.xyz, r1.xyzx, l(0.849999964, 0.849999964, 0.849999964, 0.000000), r0.xyzx
mul r1.xyz, r1.xyzx, l(1.250000, 1.250000, 1.250000, 0.000000)
max r1.xyz, |r1.xyzx|, l(0.000001, 0.000001, 0.000001, 0.000000)
log r1.xyz, r1.xyzx
mul r1.xyz, r1.xyzx, l(0.400000, 0.400000, 0.400000, 0.000000)
exp r1.xyz, r1.xyzx
min r1.xyz, r1.xyzx, l(1.000000, 1.000000, 1.000000, 0.000000)
mad r2.xyz, r1.xyzx, l(-2.000000, -2.000000, -2.000000, 0.000000), l(3.000000, 3.000000, 3.000000, 0.000000)
mul r1.xyz, r1.xyzx, r1.xyzx
mul r1.xyz, r1.xyzx, r2.xyzx
max r1.xyz, r1.xyzx, l(0.400000, 0.400000, 0.400000, 0.000000)
min r1.xyz, r1.xyzx, l(1.000000, 1.000000, 1.000000, 0.000000)
mov_sat r0.xyz, r0.xyzx
mov o0.w, r0.w
max r0.xyz, r0.xyzx, l(0.000001, 0.000001, 0.000001, 0.000000)
add r1.xyz, -r0.xyzx, r1.xyzx
mul r2.xy, v0.xyxx, cb2[3].zwzz
div r2.zw, cb0[0].xxxy, cb2[2].xxxy
mul r2.xy, r2.zwzz, r2.xyxx
sample_indexable(texture2d)(float,float,float,float) r0.w, r2.xyxx, t0.yzwx, s0
mad_sat r0.xyz, r0.wwww, r1.xyzx, r0.xyzx
exp r0.xyz, -r0.xyzx
mad r0.xyz, -r0.xyzx, l(1.500000, 1.500000, 1.500000, 0.000000), cb3[1].xyzx
add r0.xyz, r0.xyzx, l(1.500000, 1.500000, 1.500000, 0.000000)
max o0.xyz, r0.xyzx, l(0.000000, 0.000000, 0.000000, 0.000000)
ret
// Approximately 0 instruction slots used
