// MANUALLY DUMPED [ShaderRegexTemporalAO2] Exception.
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.3.16 on Sun May 30 10:22:12 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[2], immediateIndexed
dcl_constantbuffer cb1[53], immediateIndexed
dcl_constantbuffer cb2[4], immediateIndexed
dcl_constantbuffer cb3[2], immediateIndexed
dcl_constantbuffer cb4[1], immediateIndexed
dcl_constantbuffer cb5[13], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps_siv linear noperspective v0.xyw, position
dcl_output o0.xyzw
dcl_temps 11
dcl_resource_texture2d (float,float,float,float) t125
mul r0.xy, v0.xyxx, cb2[3].zwzz
mul r1.xw, r0.xxxy, l(0.500000, 0.000000, 0.000000, 0.500000)
mad r2.xyzw, cb0[0].zwzz, l(4.000000, -8.000000, -8.000000, -4.000000), r1.xwxx
mad r3.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r2.zywy
sample_indexable(texture2d)(float,float,float,float) r4.xyz, r3.zwzz, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r3.xyz, r3.xyxx, t0.xyzw, s0
mul r4.xyz, r4.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000)
mad r3.xyz, r3.xyzx, l(0.010000, 0.010000, 0.010000, 0.000000), r4.xyzx
mov r4.x, r2.y
mov r4.w, r1.x
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r4.wwwx
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r0.zwzz, t0.xyzw, s0
mad r3.xyz, r5.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r3.xyzx
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r2.xxxy
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r0.zwzz, t0.xyzw, s0
mad r3.xyz, r5.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r3.xyzx
mad r5.xyzw, cb0[0].zwww, l(8.000000, -4.000000, 4.000000, 8.000000), r1.xwww
mov r4.y, r5.x
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r4.yyyx
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r0.zwzz, t0.xyzw, s0
mad r3.xyz, r6.xyzx, l(0.010000, 0.010000, 0.010000, 0.000000), r3.xyzx
mov r1.xz, r2.zzwz
mov r1.y, r5.y
mad r6.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r1.xyzy
mov r4.z, r1.y
sample_indexable(texture2d)(float,float,float,float) r7.xyz, r6.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r6.zwzz, t0.xyzw, s0
mad r3.xyz, r7.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r3.xyzx
mad r3.xyz, r6.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r3.xyzx
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r4.wwwz
mov r2.yw, r4.zzzy
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r0.zwzz, t0.xyzw, s0
mad r3.xyz, r6.xyzx, l(0.080000, 0.080000, 0.080000, 0.000000), r3.xyzx
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r2.xxxy
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r0.zwzz, t0.xyzw, s0
mad r3.xyz, r6.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r3.xyzx
mad r6.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r5.xyxz
sample_indexable(texture2d)(float,float,float,float) r7.xyz, r6.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r6.zwzz, t0.xyzw, s0
mad r3.xyz, r7.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r3.xyzx
mad r7.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r1.xwzw
mov r4.xz, r1.xxzx
mov r2.z, r1.w
mad r1.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r2.xzwz
sample_indexable(texture2d)(float,float,float,float) r8.xyz, r7.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r7.xyz, r7.zwzz, t0.xyzw, s0
mad r3.xyz, r8.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r3.xyzx
mad r3.xyz, r7.xyzx, l(0.080000, 0.080000, 0.080000, 0.000000), r3.xyzx
sample_indexable(texture2d)(float,float,float,float) r7.xyz, r0.xyxx, t0.xyzw, s0
mad r3.xyz, r7.xyzx, l(0.160000, 0.160000, 0.160000, 0.000000), r3.xyzx
sample_indexable(texture2d)(float,float,float,float) r7.xyz, r1.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r1.xyz, r1.zwzz, t0.xyzw, s0
mad r3.xyz, r7.xyzx, l(0.080000, 0.080000, 0.080000, 0.000000), r3.xyzx
mad r1.xyz, r1.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r3.xyzx
mov r4.y, r5.z
mad r3.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r4.xyzy
mov r7.xzw, r4.xxzw
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r4.wwwy
mov r2.y, r4.y
mad r2.yw, r0.xxxy, l(0.000000, 0.500000, 0.000000, 0.500000), r2.xxxy
sample_indexable(texture2d)(float,float,float,float) r4.xyz, r2.ywyy, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r8.xyz, r0.zwzz, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r9.xyz, r3.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r3.xyz, r3.zwzz, t0.xyzw, s0
mad r1.xyz, r9.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r1.xyzx
mad r1.xyz, r3.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r1.xyzx
mad r1.xyz, r8.xyzx, l(0.080000, 0.080000, 0.080000, 0.000000), r1.xyzx
mad r1.xyz, r4.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r1.xyzx
mad r1.xyz, r6.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r1.xyzx
mov r7.y, r5.w
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r5.xxxw
sample_indexable(texture2d)(float,float,float,float) r3.xyz, r0.zwzz, t0.xyzw, s0
mad r4.xyzw, r0.xyxy, l(0.500000, 0.500000, 0.500000, 0.500000), r7.xyzy
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 0.500000, 0.500000), r7.wwwy
mov r2.z, r7.y
mad r2.xy, r0.xyxx, l(0.500000, 0.500000, 0.000000, 0.000000), r2.xzxx
sample_indexable(texture2d)(float,float,float,float) r2.xyz, r2.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r0.zwzz, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r4.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r4.xyz, r4.zwzz, t0.xyzw, s0
mad r1.xyz, r6.xyzx, l(0.010000, 0.010000, 0.010000, 0.000000), r1.xyzx
mad r1.xyz, r4.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r1.xyzx
mad r1.xyz, r5.xyzx, l(0.040000, 0.040000, 0.040000, 0.000000), r1.xyzx
mad r1.xyz, r2.xyzx, l(0.020000, 0.020000, 0.020000, 0.000000), r1.xyzx
mad r1.xyz, r3.xyzx, l(0.010000, 0.010000, 0.010000, 0.000000), r1.xyzx
add r0.zw, v0.xxxy, -cb2[1].xxxy
mad r0.zw, r0.zzzw, cb2[2].zzzw, l(0.000000, 0.000000, -0.500000, -0.500000)
mul r2.xy, r0.zwzz, v0.wwww
mov r2.z, v0.w
mul r2.xyz, r2.xyzx, l(2.000000, -2.000000, 1.000000, 0.000000)

//ld_indexable(texture2d)(float,float,float,float) r10.xyzw, l(0, 0, 0, 0), t125.xyzw
//add r10.w, r2.z, -r10.y
//mad r2.x, -r10.x, r10.w, r2.x
div r0.zw, r2.xxxy, r2.zzzz
mad r0.zw, r0.zzzw, cb1[52].xxxy, cb1[52].wwwz
sample_indexable(texture2d)(float,float,float,float) r2.xyz, r0.zwzz, t0.xyzw, s0
add r3.xyz, -r1.xyzx, r2.xyzx
mad r0.zw, r0.xxxy, l(0.000000, 0.000000, 1.600000, 1.000000), -cb5[5].xxxy
dp2 r0.z, r0.zwzz, r0.zwzz
sqrt r0.z, r0.z
div r0.w, r0.z, cb4[0].x
div r0.z, r0.z, cb5[11].x
add r0.zw, -r0.zzzw, l(0.000000, 0.000000, 1.000000, 1.000000)
mul r1.w, r0.w, cb5[11].w
mul r1.w, r1.w, r1.w
mul r1.w, r1.w, l(1.44269514)
exp r1.w, r1.w
div r1.w, l(1.000000, 1.000000, 1.000000, 1.000000), r1.w
add r1.w, -r1.w, l(1.000000)
add r1.w, -r1.w, l(1.000000)
ge r2.w, r0.w, l(0.000000)
lt r0.w, l(0.000010), |r0.w|
movc r1.w, r2.w, r1.w, l(1.000000)
movc r0.w, r0.w, r1.w, l(1.000000)
add r1.w, -cb3[1].x, cb5[12].x
mad r0.w, r0.w, r1.w, cb3[1].x
add_sat r0.w, -r0.w, l(1.000000)
add r0.w, -r0.w, l(1.000000)
mad r3.xyz, r0.wwww, r3.xyzx, r1.xyzx
mul r0.w, r0.z, cb5[11].y
mul r0.w, r0.w, r0.w
mul r0.w, r0.w, l(1.44269514)
exp r0.w, r0.w
div r0.w, l(1.000000, 1.000000, 1.000000, 1.000000), r0.w
add r0.w, -r0.w, l(1.000000)
ge r1.w, r0.z, l(0.000000)
lt r0.z, l(0.000010), |r0.z|
and r0.w, r0.w, r1.w
and r0.z, r0.w, r0.z
mad r4.xyz, r0.zzzz, -cb5[7].xyzx, cb5[7].xyzx
mad r3.xyz, r4.xyzx, r3.xyzx, r3.xyzx
add r0.w, -cb5[11].z, l(1.000000)
mad r0.z, r0.z, r0.w, cb5[11].z
mad r3.xyz, r0.zzzz, r3.xyzx, -r1.xyzx
mad r1.xyz, cb5[12].yyyy, r3.xyzx, r1.xyzx
mul r3.xyzw, cb0[0].zwzw, cb5[3].xyxy
mad r4.xyzw, r3.zwzw, l(0.000000, 1.000000, 1.000000, 0.000000), r0.xyxy
max r4.xyzw, r4.xyzw, cb0[1].xyxy
min r4.xyzw, r4.xyzw, cb0[1].zwzw
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r4.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r4.xyz, r4.zwzz, t0.xyzw, s0
add r4.xyz, r4.xyzx, r5.xyzx
mad r5.xyzw, r3.zwzw, l(0.000000, -1.000000, -1.000000, 0.000000), r0.xyxy
max r5.xyzw, r5.xyzw, cb0[1].xyxy
min r5.xyzw, r5.xyzw, cb0[1].zwzw
sample_indexable(texture2d)(float,float,float,float) r6.xyz, r5.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r5.zwzz, t0.xyzw, s0
add r5.xyz, r5.xyzx, r6.xyzx
add r4.xyz, r4.xyzx, r5.xyzx
mad r5.xyzw, r3.zwzw, l(-0.500000, 0.500000, 0.500000, 0.500000), r0.xyxy
mad r0.xyzw, r3.xyzw, l(0.500000, -0.500000, -0.500000, -0.500000), r0.xyxy
max r0.xyzw, r0.xyzw, cb0[1].xyxy
min r0.xyzw, r0.xyzw, cb0[1].zwzw
max r3.xyzw, r5.xyzw, cb0[1].xyxy
min r3.xyzw, r3.xyzw, cb0[1].zwzw
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r3.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r3.xyz, r3.zwzz, t0.xyzw, s0
add r3.xyz, r3.xyzx, r5.xyzx
sample_indexable(texture2d)(float,float,float,float) r5.xyz, r0.xyxx, t0.xyzw, s0
sample_indexable(texture2d)(float,float,float,float) r0.xyz, r0.zwzz, t0.xyzw, s0
add r0.xyz, r0.xyzx, r5.xyzx
add r0.xyz, r0.xyzx, r3.xyzx
add r0.xyz, r0.xyzx, r4.xyzx
add r0.xyz, r2.xyzx, r0.xyzx
mad r0.xyz, r0.xyzx, l(0.125000, 0.125000, 0.125000, 0.000000), -r1.xyzx
mad r0.xyz, cb5[12].zzzz, r0.xyzx, r1.xyzx
add r0.xyz, r0.xyzx, cb5[8].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
