// MANUALLY DUMPED [ShaderRegexTemporalAO2] Exception.
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Fri May 28 19:23:04 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[53], immediateIndexed
dcl_constantbuffer cb1[3], immediateIndexed
dcl_constantbuffer cb2[9], 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, -cb1[1].xyxx
mad r0.xy, r0.xyxx, cb1[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, cb0[52].xyxx, cb0[52].wzww
sample_l_indexable(texture2d)(float,float,float,float) r0.z, r0.xyxx, t0.yzxw, s0, l(0.000000)
sample_indexable(texture2d)(float,float,float,float) r0.xyw, r0.xyxx, t1.xywz, s1
mul r0.z, r0.z, r0.z
mad r0.z, r0.z, cb0[51].z, -cb0[51].w
div r0.z, l(1.000000, 1.000000, 1.000000, 1.000000), r0.z
mul_sat r0.z, r0.z, cb2[8].z
mul r1.xyz, r0.xywx, cb2[4].xyzx
max r1.xyz, |r1.xyzx|, l(0.000001, 0.000001, 0.000001, 0.000000)
log r1.xyz, r1.xyzx
mul r1.xyz, r1.xyzx, cb2[8].yyyy
exp r1.xyz, r1.xyzx
mul r2.xyz, r0.xywx, cb2[2].xyzx
max r2.xyz, |r2.xyzx|, l(0.000001, 0.000001, 0.000001, 0.000000)
log r2.xyz, r2.xyzx
mul r2.xyz, r2.xyzx, cb2[8].xxxx
exp r2.xyz, r2.xyzx
add r1.xyz, r1.xyzx, -r2.xyzx
mad r1.xyz, r0.zzzz, r1.xyzx, r2.xyzx
add r1.xyz, -r0.xywx, r1.xyzx
mad r0.xyz, cb2[8].wwww, r1.xyzx, r0.xywx
add r0.xyz, r0.xyzx, cb2[5].xyzx
max o0.xyz, r0.xyzx, l(0.000000, 0.000000, 0.000000, 0.000000)
mov o0.w, l(1.000000)
ret
// Approximately 0 instruction slots used
