import torch
import triton
import triton.language as tl
from torch._inductor.runtime.triton_heuristics import grid
from torch._C import _cuda_getCurrentRawStream as get_raw_stream
assert_size_stride = torch._C._dynamo.guards.assert_size_stride
empty_strided_cuda = torch._C._dynamo.guards._empty_strided_cuda


@triton.jit
def triton_poi_fused_add_0(in_ptr0, out_ptr0, xnumel, XBLOCK: tl.constexpr):
    xnumel = 16
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x1 = xindex // 4
    x0 = xindex % 4
    x2 = xindex
    tmp264 = tl.load(in_ptr0 + (32 + x2), xmask)
    tmp0 = x1
    tmp1 = tl.full([1], 4, tl.int64)
    tmp2 = tmp0 < tmp1
    tmp3 = 8 + x0
    tmp4 = tmp3 >= tmp1
    tmp5 = tl.full([1], 8, tl.int64)
    tmp6 = tmp3 < tmp5
    tmp7 = tmp4 & tmp6
    tmp8 = tmp7 & tmp2
    tmp9 = tmp2 & tmp8
    tmp10 = tmp7 & tmp9
    tmp11 = tmp2 & tmp10
    tmp12 = tmp3 < tmp1
    tmp13 = tmp12 & tmp11
    tmp14 = tmp2 & tmp13
    tmp15 = tmp12 & tmp14
    tmp16 = tl.load(in_ptr0 + (8 + x2), tmp15 & xmask, other=0.0)
    tmp17 = 0.0
    tmp18 = tmp17 + tmp16
    tmp19 = tl.full(tmp18.shape, 0.0, tmp18.dtype)
    tmp20 = tl.where(tmp15, tmp18, tmp19)
    tmp21 = tl.where(tmp12, tmp20, tmp17)
    tmp22 = tl.full(tmp21.shape, 0.0, tmp21.dtype)
    tmp23 = tl.where(tmp14, tmp21, tmp22)
    tmp24 = tl.where(tmp2, tmp23, tmp17)
    tmp25 = tl.full(tmp24.shape, 0.0, tmp24.dtype)
    tmp26 = tl.where(tmp13, tmp24, tmp25)
    tmp27 = tmp2 & tmp11
    tmp28 = tmp12 & tmp27
    tmp29 = tl.load(in_ptr0 + (8 + x2), tmp28 & xmask, other=0.0)
    tmp30 = tmp17 + tmp29
    tmp31 = tl.full(tmp30.shape, 0.0, tmp30.dtype)
    tmp32 = tl.where(tmp28, tmp30, tmp31)
    tmp33 = tl.where(tmp12, tmp32, tmp17)
    tmp34 = tl.full(tmp33.shape, 0.0, tmp33.dtype)
    tmp35 = tl.where(tmp27, tmp33, tmp34)
    tmp36 = tl.where(tmp2, tmp35, tmp17)
    tmp37 = tl.where(tmp12, tmp26, tmp36)
    tmp38 = tl.full(tmp37.shape, 0.0, tmp37.dtype)
    tmp39 = tl.where(tmp11, tmp37, tmp38)
    tmp40 = tl.load(in_ptr0 + (8 + x2), tmp13 & xmask, other=0.0)
    tmp41 = tmp17 + tmp40
    tmp42 = tl.full(tmp41.shape, 0.0, tmp41.dtype)
    tmp43 = tl.where(tmp13, tmp41, tmp42)
    tmp44 = tl.where(tmp12, tmp43, tmp17)
    tmp45 = tl.full(tmp44.shape, 0.0, tmp44.dtype)
    tmp46 = tl.where(tmp11, tmp44, tmp45)
    tmp47 = tl.where(tmp2, tmp46, tmp17)
    tmp48 = tl.where(tmp2, tmp39, tmp47)
    tmp49 = tl.load(in_ptr0 + (20 + x2), tmp10 & xmask, other=0.0)
    tmp50 = tmp48 + tmp49
    tmp51 = tl.full(tmp50.shape, 0.0, tmp50.dtype)
    tmp52 = tl.where(tmp10, tmp50, tmp51)
    tmp53 = tmp2 & tmp9
    tmp54 = tmp12 & tmp53
    tmp55 = tmp2 & tmp54
    tmp56 = tmp12 & tmp55
    tmp57 = tl.load(in_ptr0 + (8 + x2), tmp56 & xmask, other=0.0)
    tmp58 = tmp17 + tmp57
    tmp59 = tl.full(tmp58.shape, 0.0, tmp58.dtype)
    tmp60 = tl.where(tmp56, tmp58, tmp59)
    tmp61 = tl.where(tmp12, tmp60, tmp17)
    tmp62 = tl.full(tmp61.shape, 0.0, tmp61.dtype)
    tmp63 = tl.where(tmp55, tmp61, tmp62)
    tmp64 = tl.where(tmp2, tmp63, tmp17)
    tmp65 = tl.full(tmp64.shape, 0.0, tmp64.dtype)
    tmp66 = tl.where(tmp54, tmp64, tmp65)
    tmp67 = tmp2 & tmp53
    tmp68 = tmp12 & tmp67
    tmp69 = tl.load(in_ptr0 + (8 + x2), tmp68 & xmask, other=0.0)
    tmp70 = tmp17 + tmp69
    tmp71 = tl.full(tmp70.shape, 0.0, tmp70.dtype)
    tmp72 = tl.where(tmp68, tmp70, tmp71)
    tmp73 = tl.where(tmp12, tmp72, tmp17)
    tmp74 = tl.full(tmp73.shape, 0.0, tmp73.dtype)
    tmp75 = tl.where(tmp67, tmp73, tmp74)
    tmp76 = tl.where(tmp2, tmp75, tmp17)
    tmp77 = tl.where(tmp12, tmp66, tmp76)
    tmp78 = tl.full(tmp77.shape, 0.0, tmp77.dtype)
    tmp79 = tl.where(tmp53, tmp77, tmp78)
    tmp80 = tl.load(in_ptr0 + (8 + x2), tmp54 & xmask, other=0.0)
    tmp81 = tmp17 + tmp80
    tmp82 = tl.full(tmp81.shape, 0.0, tmp81.dtype)
    tmp83 = tl.where(tmp54, tmp81, tmp82)
    tmp84 = tl.where(tmp12, tmp83, tmp17)
    tmp85 = tl.full(tmp84.shape, 0.0, tmp84.dtype)
    tmp86 = tl.where(tmp53, tmp84, tmp85)
    tmp87 = tl.where(tmp2, tmp86, tmp17)
    tmp88 = tl.where(tmp2, tmp79, tmp87)
    tmp89 = tl.where(tmp7, tmp52, tmp88)
    tmp90 = tl.full(tmp89.shape, 0.0, tmp89.dtype)
    tmp91 = tl.where(tmp9, tmp89, tmp90)
    tmp92 = tmp12 & tmp9
    tmp93 = tmp2 & tmp92
    tmp94 = tmp12 & tmp93
    tmp95 = tl.load(in_ptr0 + (8 + x2), tmp94 & xmask, other=0.0)
    tmp96 = tmp17 + tmp95
    tmp97 = tl.full(tmp96.shape, 0.0, tmp96.dtype)
    tmp98 = tl.where(tmp94, tmp96, tmp97)
    tmp99 = tl.where(tmp12, tmp98, tmp17)
    tmp100 = tl.full(tmp99.shape, 0.0, tmp99.dtype)
    tmp101 = tl.where(tmp93, tmp99, tmp100)
    tmp102 = tl.where(tmp2, tmp101, tmp17)
    tmp103 = tl.full(tmp102.shape, 0.0, tmp102.dtype)
    tmp104 = tl.where(tmp92, tmp102, tmp103)
    tmp105 = tl.where(tmp12, tmp104, tmp87)
    tmp106 = tl.full(tmp105.shape, 0.0, tmp105.dtype)
    tmp107 = tl.where(tmp9, tmp105, tmp106)
    tmp108 = tl.load(in_ptr0 + (8 + x2), tmp92 & xmask, other=0.0)
    tmp109 = tmp17 + tmp108
    tmp110 = tl.full(tmp109.shape, 0.0, tmp109.dtype)
    tmp111 = tl.where(tmp92, tmp109, tmp110)
    tmp112 = tl.where(tmp12, tmp111, tmp17)
    tmp113 = tl.full(tmp112.shape, 0.0, tmp112.dtype)
    tmp114 = tl.where(tmp9, tmp112, tmp113)
    tmp115 = tl.where(tmp2, tmp114, tmp17)
    tmp116 = tl.where(tmp2, tmp107, tmp115)
    tmp117 = tl.where(tmp2, tmp91, tmp116)
    tmp118 = tl.full(tmp117.shape, 0.0, tmp117.dtype)
    tmp119 = tl.where(tmp8, tmp117, tmp118)
    tmp120 = tmp2 & tmp2
    tmp121 = tmp7 & tmp120
    tmp122 = tmp2 & tmp121
    tmp123 = tmp12 & tmp122
    tmp124 = tmp2 & tmp123
    tmp125 = tmp12 & tmp124
    tmp126 = tl.load(in_ptr0 + (8 + x2), tmp125 & xmask, other=0.0)
    tmp127 = tmp17 + tmp126
    tmp128 = tl.full(tmp127.shape, 0.0, tmp127.dtype)
    tmp129 = tl.where(tmp125, tmp127, tmp128)
    tmp130 = tl.where(tmp12, tmp129, tmp17)
    tmp131 = tl.full(tmp130.shape, 0.0, tmp130.dtype)
    tmp132 = tl.where(tmp124, tmp130, tmp131)
    tmp133 = tl.where(tmp2, tmp132, tmp17)
    tmp134 = tl.full(tmp133.shape, 0.0, tmp133.dtype)
    tmp135 = tl.where(tmp123, tmp133, tmp134)
    tmp136 = tmp2 & tmp122
    tmp137 = tmp12 & tmp136
    tmp138 = tl.load(in_ptr0 + (8 + x2), tmp137 & xmask, other=0.0)
    tmp139 = tmp17 + tmp138
    tmp140 = tl.full(tmp139.shape, 0.0, tmp139.dtype)
    tmp141 = tl.where(tmp137, tmp139, tmp140)
    tmp142 = tl.where(tmp12, tmp141, tmp17)
    tmp143 = tl.full(tmp142.shape, 0.0, tmp142.dtype)
    tmp144 = tl.where(tmp136, tmp142, tmp143)
    tmp145 = tl.where(tmp2, tmp144, tmp17)
    tmp146 = tl.where(tmp12, tmp135, tmp145)
    tmp147 = tl.full(tmp146.shape, 0.0, tmp146.dtype)
    tmp148 = tl.where(tmp122, tmp146, tmp147)
    tmp149 = tl.load(in_ptr0 + (8 + x2), tmp123 & xmask, other=0.0)
    tmp150 = tmp17 + tmp149
    tmp151 = tl.full(tmp150.shape, 0.0, tmp150.dtype)
    tmp152 = tl.where(tmp123, tmp150, tmp151)
    tmp153 = tl.where(tmp12, tmp152, tmp17)
    tmp154 = tl.full(tmp153.shape, 0.0, tmp153.dtype)
    tmp155 = tl.where(tmp122, tmp153, tmp154)
    tmp156 = tl.where(tmp2, tmp155, tmp17)
    tmp157 = tl.where(tmp2, tmp148, tmp156)
    tmp158 = tl.load(in_ptr0 + (20 + x2), tmp121 & xmask, other=0.0)
    tmp159 = tmp157 + tmp158
    tmp160 = tl.full(tmp159.shape, 0.0, tmp159.dtype)
    tmp161 = tl.where(tmp121, tmp159, tmp160)
    tmp162 = tmp2 & tmp120
    tmp163 = tmp12 & tmp162
    tmp164 = tmp2 & tmp163
    tmp165 = tmp12 & tmp164
    tmp166 = tl.load(in_ptr0 + (8 + x2), tmp165 & xmask, other=0.0)
    tmp167 = tmp17 + tmp166
    tmp168 = tl.full(tmp167.shape, 0.0, tmp167.dtype)
    tmp169 = tl.where(tmp165, tmp167, tmp168)
    tmp170 = tl.where(tmp12, tmp169, tmp17)
    tmp171 = tl.full(tmp170.shape, 0.0, tmp170.dtype)
    tmp172 = tl.where(tmp164, tmp170, tmp171)
    tmp173 = tl.where(tmp2, tmp172, tmp17)
    tmp174 = tl.full(tmp173.shape, 0.0, tmp173.dtype)
    tmp175 = tl.where(tmp163, tmp173, tmp174)
    tmp176 = tmp2 & tmp162
    tmp177 = tmp12 & tmp176
    tmp178 = tl.load(in_ptr0 + (8 + x2), tmp177 & xmask, other=0.0)
    tmp179 = tmp17 + tmp178
    tmp180 = tl.full(tmp179.shape, 0.0, tmp179.dtype)
    tmp181 = tl.where(tmp177, tmp179, tmp180)
    tmp182 = tl.where(tmp12, tmp181, tmp17)
    tmp183 = tl.full(tmp182.shape, 0.0, tmp182.dtype)
    tmp184 = tl.where(tmp176, tmp182, tmp183)
    tmp185 = tl.where(tmp2, tmp184, tmp17)
    tmp186 = tl.where(tmp12, tmp175, tmp185)
    tmp187 = tl.full(tmp186.shape, 0.0, tmp186.dtype)
    tmp188 = tl.where(tmp162, tmp186, tmp187)
    tmp189 = tl.load(in_ptr0 + (8 + x2), tmp163 & xmask, other=0.0)
    tmp190 = tmp17 + tmp189
    tmp191 = tl.full(tmp190.shape, 0.0, tmp190.dtype)
    tmp192 = tl.where(tmp163, tmp190, tmp191)
    tmp193 = tl.where(tmp12, tmp192, tmp17)
    tmp194 = tl.full(tmp193.shape, 0.0, tmp193.dtype)
    tmp195 = tl.where(tmp162, tmp193, tmp194)
    tmp196 = tl.where(tmp2, tmp195, tmp17)
    tmp197 = tl.where(tmp2, tmp188, tmp196)
    tmp198 = tl.where(tmp7, tmp161, tmp197)
    tmp199 = tl.full(tmp198.shape, 0.0, tmp198.dtype)
    tmp200 = tl.where(tmp120, tmp198, tmp199)
    tmp201 = tmp12 & tmp120
    tmp202 = tmp2 & tmp201
    tmp203 = tmp12 & tmp202
    tmp204 = tl.load(in_ptr0 + (8 + x2), tmp203 & xmask, other=0.0)
    tmp205 = tmp17 + tmp204
    tmp206 = tl.full(tmp205.shape, 0.0, tmp205.dtype)
    tmp207 = tl.where(tmp203, tmp205, tmp206)
    tmp208 = tl.where(tmp12, tmp207, tmp17)
    tmp209 = tl.full(tmp208.shape, 0.0, tmp208.dtype)
    tmp210 = tl.where(tmp202, tmp208, tmp209)
    tmp211 = tl.where(tmp2, tmp210, tmp17)
    tmp212 = tl.full(tmp211.shape, 0.0, tmp211.dtype)
    tmp213 = tl.where(tmp201, tmp211, tmp212)
    tmp214 = tl.where(tmp12, tmp213, tmp196)
    tmp215 = tl.full(tmp214.shape, 0.0, tmp214.dtype)
    tmp216 = tl.where(tmp120, tmp214, tmp215)
    tmp217 = tl.load(in_ptr0 + (8 + x2), tmp201 & xmask, other=0.0)
    tmp218 = tmp17 + tmp217
    tmp219 = tl.full(tmp218.shape, 0.0, tmp218.dtype)
    tmp220 = tl.where(tmp201, tmp218, tmp219)
    tmp221 = tl.where(tmp12, tmp220, tmp17)
    tmp222 = tl.full(tmp221.shape, 0.0, tmp221.dtype)
    tmp223 = tl.where(tmp120, tmp221, tmp222)
    tmp224 = tl.where(tmp2, tmp223, tmp17)
    tmp225 = tl.where(tmp2, tmp216, tmp224)
    tmp226 = tl.where(tmp2, tmp200, tmp225)
    tmp227 = tl.where(tmp7, tmp119, tmp226)
    tmp228 = tl.full(tmp227.shape, 0.0, tmp227.dtype)
    tmp229 = tl.where(tmp2, tmp227, tmp228)
    tmp230 = tl.load(in_ptr0 + (20 + x2), tmp8 & xmask, other=0.0)
    tmp231 = tmp116 + tmp230
    tmp232 = tl.full(tmp231.shape, 0.0, tmp231.dtype)
    tmp233 = tl.where(tmp8, tmp231, tmp232)
    tmp234 = tl.where(tmp7, tmp233, tmp225)
    tmp235 = tl.full(tmp234.shape, 0.0, tmp234.dtype)
    tmp236 = tl.where(tmp2, tmp234, tmp235)
    tmp237 = tmp12 & tmp2
    tmp238 = tmp2 & tmp237
    tmp239 = tmp12 & tmp238
    tmp240 = tl.load(in_ptr0 + (8 + x2), tmp239 & xmask, other=0.0)
    tmp241 = tmp17 + tmp240
    tmp242 = tl.full(tmp241.shape, 0.0, tmp241.dtype)
    tmp243 = tl.where(tmp239, tmp241, tmp242)
    tmp244 = tl.where(tmp12, tmp243, tmp17)
    tmp245 = tl.full(tmp244.shape, 0.0, tmp244.dtype)
    tmp246 = tl.where(tmp238, tmp244, tmp245)
    tmp247 = tl.where(tmp2, tmp246, tmp17)
    tmp248 = tl.full(tmp247.shape, 0.0, tmp247.dtype)
    tmp249 = tl.where(tmp237, tmp247, tmp248)
    tmp250 = tl.where(tmp12, tmp249, tmp224)
    tmp251 = tl.full(tmp250.shape, 0.0, tmp250.dtype)
    tmp252 = tl.where(tmp2, tmp250, tmp251)
    tmp253 = tl.load(in_ptr0 + (8 + x2), tmp237 & xmask, other=0.0)
    tmp254 = tmp17 + tmp253
    tmp255 = tl.full(tmp254.shape, 0.0, tmp254.dtype)
    tmp256 = tl.where(tmp237, tmp254, tmp255)
    tmp257 = tl.where(tmp12, tmp256, tmp17)
    tmp258 = tl.full(tmp257.shape, 0.0, tmp257.dtype)
    tmp259 = tl.where(tmp2, tmp257, tmp258)
    tmp260 = tl.where(tmp2, tmp259, tmp17)
    tmp261 = tl.where(tmp2, tmp252, tmp260)
    tmp262 = tl.where(tmp2, tmp236, tmp261)
    tmp263 = tl.where(tmp2, tmp229, tmp262)
    tmp265 = tmp263 + tmp264
    tl.store(out_ptr0 + x2, tmp265, xmask)


@triton.jit
def triton_poi_fused_1(in_ptr0, in_ptr1, out_ptr0, xnumel, XBLOCK: tl.constexpr
    ):
    xnumel = 64
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x0 = xindex % 16
    x1 = xindex // 16
    x2 = xindex
    tmp0 = x0
    tmp1 = tl.full([1], 8, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.full([1], 12, tl.int64)
    tmp4 = tmp0 < tmp3
    tmp5 = tmp2 & tmp4
    tmp6 = tl.load(in_ptr0 + (-8 + x0 + 4 * x1), tmp5 & xmask, other=0.0)
    tmp7 = x1
    tmp8 = tl.full([1], 4, tl.int64)
    tmp9 = tmp7 < tmp8
    tmp10 = tmp0 >= tmp8
    tmp11 = tmp0 < tmp1
    tmp12 = tmp10 & tmp11
    tmp13 = tmp12 & tmp9
    tmp14 = tmp9 & tmp13
    tmp15 = tmp12 & tmp14
    tmp16 = tmp9 & tmp15
    tmp17 = tmp0 < tmp8
    tmp18 = tmp17 & tmp16
    tmp19 = tmp9 & tmp18
    tmp20 = tmp17 & tmp19
    tmp21 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp20 & xmask, other=0.0)
    tmp22 = 0.0
    tmp23 = tmp22 + tmp21
    tmp24 = tl.full(tmp23.shape, 0.0, tmp23.dtype)
    tmp25 = tl.where(tmp20, tmp23, tmp24)
    tmp26 = tl.where(tmp17, tmp25, tmp22)
    tmp27 = tl.full(tmp26.shape, 0.0, tmp26.dtype)
    tmp28 = tl.where(tmp19, tmp26, tmp27)
    tmp29 = tl.where(tmp9, tmp28, tmp22)
    tmp30 = tl.full(tmp29.shape, 0.0, tmp29.dtype)
    tmp31 = tl.where(tmp18, tmp29, tmp30)
    tmp32 = tmp9 & tmp16
    tmp33 = tmp17 & tmp32
    tmp34 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp33 & xmask, other=0.0)
    tmp35 = tmp22 + tmp34
    tmp36 = tl.full(tmp35.shape, 0.0, tmp35.dtype)
    tmp37 = tl.where(tmp33, tmp35, tmp36)
    tmp38 = tl.where(tmp17, tmp37, tmp22)
    tmp39 = tl.full(tmp38.shape, 0.0, tmp38.dtype)
    tmp40 = tl.where(tmp32, tmp38, tmp39)
    tmp41 = tl.where(tmp9, tmp40, tmp22)
    tmp42 = tl.where(tmp17, tmp31, tmp41)
    tmp43 = tl.full(tmp42.shape, 0.0, tmp42.dtype)
    tmp44 = tl.where(tmp16, tmp42, tmp43)
    tmp45 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp18 & xmask, other=0.0)
    tmp46 = tmp22 + tmp45
    tmp47 = tl.full(tmp46.shape, 0.0, tmp46.dtype)
    tmp48 = tl.where(tmp18, tmp46, tmp47)
    tmp49 = tl.where(tmp17, tmp48, tmp22)
    tmp50 = tl.full(tmp49.shape, 0.0, tmp49.dtype)
    tmp51 = tl.where(tmp16, tmp49, tmp50)
    tmp52 = tl.where(tmp9, tmp51, tmp22)
    tmp53 = tl.where(tmp9, tmp44, tmp52)
    tmp54 = tl.load(in_ptr1 + (12 + x0 + 4 * x1), tmp15 & xmask, other=0.0)
    tmp55 = tmp53 + tmp54
    tmp56 = tl.full(tmp55.shape, 0.0, tmp55.dtype)
    tmp57 = tl.where(tmp15, tmp55, tmp56)
    tmp58 = tmp9 & tmp14
    tmp59 = tmp17 & tmp58
    tmp60 = tmp9 & tmp59
    tmp61 = tmp17 & tmp60
    tmp62 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp61 & xmask, other=0.0)
    tmp63 = tmp22 + tmp62
    tmp64 = tl.full(tmp63.shape, 0.0, tmp63.dtype)
    tmp65 = tl.where(tmp61, tmp63, tmp64)
    tmp66 = tl.where(tmp17, tmp65, tmp22)
    tmp67 = tl.full(tmp66.shape, 0.0, tmp66.dtype)
    tmp68 = tl.where(tmp60, tmp66, tmp67)
    tmp69 = tl.where(tmp9, tmp68, tmp22)
    tmp70 = tl.full(tmp69.shape, 0.0, tmp69.dtype)
    tmp71 = tl.where(tmp59, tmp69, tmp70)
    tmp72 = tmp9 & tmp58
    tmp73 = tmp17 & tmp72
    tmp74 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp73 & xmask, other=0.0)
    tmp75 = tmp22 + tmp74
    tmp76 = tl.full(tmp75.shape, 0.0, tmp75.dtype)
    tmp77 = tl.where(tmp73, tmp75, tmp76)
    tmp78 = tl.where(tmp17, tmp77, tmp22)
    tmp79 = tl.full(tmp78.shape, 0.0, tmp78.dtype)
    tmp80 = tl.where(tmp72, tmp78, tmp79)
    tmp81 = tl.where(tmp9, tmp80, tmp22)
    tmp82 = tl.where(tmp17, tmp71, tmp81)
    tmp83 = tl.full(tmp82.shape, 0.0, tmp82.dtype)
    tmp84 = tl.where(tmp58, tmp82, tmp83)
    tmp85 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp59 & xmask, other=0.0)
    tmp86 = tmp22 + tmp85
    tmp87 = tl.full(tmp86.shape, 0.0, tmp86.dtype)
    tmp88 = tl.where(tmp59, tmp86, tmp87)
    tmp89 = tl.where(tmp17, tmp88, tmp22)
    tmp90 = tl.full(tmp89.shape, 0.0, tmp89.dtype)
    tmp91 = tl.where(tmp58, tmp89, tmp90)
    tmp92 = tl.where(tmp9, tmp91, tmp22)
    tmp93 = tl.where(tmp9, tmp84, tmp92)
    tmp94 = tl.where(tmp12, tmp57, tmp93)
    tmp95 = tl.full(tmp94.shape, 0.0, tmp94.dtype)
    tmp96 = tl.where(tmp14, tmp94, tmp95)
    tmp97 = tmp17 & tmp14
    tmp98 = tmp9 & tmp97
    tmp99 = tmp17 & tmp98
    tmp100 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp99 & xmask, other=0.0)
    tmp101 = tmp22 + tmp100
    tmp102 = tl.full(tmp101.shape, 0.0, tmp101.dtype)
    tmp103 = tl.where(tmp99, tmp101, tmp102)
    tmp104 = tl.where(tmp17, tmp103, tmp22)
    tmp105 = tl.full(tmp104.shape, 0.0, tmp104.dtype)
    tmp106 = tl.where(tmp98, tmp104, tmp105)
    tmp107 = tl.where(tmp9, tmp106, tmp22)
    tmp108 = tl.full(tmp107.shape, 0.0, tmp107.dtype)
    tmp109 = tl.where(tmp97, tmp107, tmp108)
    tmp110 = tl.where(tmp17, tmp109, tmp92)
    tmp111 = tl.full(tmp110.shape, 0.0, tmp110.dtype)
    tmp112 = tl.where(tmp14, tmp110, tmp111)
    tmp113 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp97 & xmask, other=0.0)
    tmp114 = tmp22 + tmp113
    tmp115 = tl.full(tmp114.shape, 0.0, tmp114.dtype)
    tmp116 = tl.where(tmp97, tmp114, tmp115)
    tmp117 = tl.where(tmp17, tmp116, tmp22)
    tmp118 = tl.full(tmp117.shape, 0.0, tmp117.dtype)
    tmp119 = tl.where(tmp14, tmp117, tmp118)
    tmp120 = tl.where(tmp9, tmp119, tmp22)
    tmp121 = tl.where(tmp9, tmp112, tmp120)
    tmp122 = tl.where(tmp9, tmp96, tmp121)
    tmp123 = tl.full(tmp122.shape, 0.0, tmp122.dtype)
    tmp124 = tl.where(tmp13, tmp122, tmp123)
    tmp125 = tmp9 & tmp9
    tmp126 = tmp12 & tmp125
    tmp127 = tmp9 & tmp126
    tmp128 = tmp17 & tmp127
    tmp129 = tmp9 & tmp128
    tmp130 = tmp17 & tmp129
    tmp131 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp130 & xmask, other=0.0)
    tmp132 = tmp22 + tmp131
    tmp133 = tl.full(tmp132.shape, 0.0, tmp132.dtype)
    tmp134 = tl.where(tmp130, tmp132, tmp133)
    tmp135 = tl.where(tmp17, tmp134, tmp22)
    tmp136 = tl.full(tmp135.shape, 0.0, tmp135.dtype)
    tmp137 = tl.where(tmp129, tmp135, tmp136)
    tmp138 = tl.where(tmp9, tmp137, tmp22)
    tmp139 = tl.full(tmp138.shape, 0.0, tmp138.dtype)
    tmp140 = tl.where(tmp128, tmp138, tmp139)
    tmp141 = tmp9 & tmp127
    tmp142 = tmp17 & tmp141
    tmp143 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp142 & xmask, other=0.0)
    tmp144 = tmp22 + tmp143
    tmp145 = tl.full(tmp144.shape, 0.0, tmp144.dtype)
    tmp146 = tl.where(tmp142, tmp144, tmp145)
    tmp147 = tl.where(tmp17, tmp146, tmp22)
    tmp148 = tl.full(tmp147.shape, 0.0, tmp147.dtype)
    tmp149 = tl.where(tmp141, tmp147, tmp148)
    tmp150 = tl.where(tmp9, tmp149, tmp22)
    tmp151 = tl.where(tmp17, tmp140, tmp150)
    tmp152 = tl.full(tmp151.shape, 0.0, tmp151.dtype)
    tmp153 = tl.where(tmp127, tmp151, tmp152)
    tmp154 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp128 & xmask, other=0.0)
    tmp155 = tmp22 + tmp154
    tmp156 = tl.full(tmp155.shape, 0.0, tmp155.dtype)
    tmp157 = tl.where(tmp128, tmp155, tmp156)
    tmp158 = tl.where(tmp17, tmp157, tmp22)
    tmp159 = tl.full(tmp158.shape, 0.0, tmp158.dtype)
    tmp160 = tl.where(tmp127, tmp158, tmp159)
    tmp161 = tl.where(tmp9, tmp160, tmp22)
    tmp162 = tl.where(tmp9, tmp153, tmp161)
    tmp163 = tl.load(in_ptr1 + (12 + x0 + 4 * x1), tmp126 & xmask, other=0.0)
    tmp164 = tmp162 + tmp163
    tmp165 = tl.full(tmp164.shape, 0.0, tmp164.dtype)
    tmp166 = tl.where(tmp126, tmp164, tmp165)
    tmp167 = tmp9 & tmp125
    tmp168 = tmp17 & tmp167
    tmp169 = tmp9 & tmp168
    tmp170 = tmp17 & tmp169
    tmp171 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp170 & xmask, other=0.0)
    tmp172 = tmp22 + tmp171
    tmp173 = tl.full(tmp172.shape, 0.0, tmp172.dtype)
    tmp174 = tl.where(tmp170, tmp172, tmp173)
    tmp175 = tl.where(tmp17, tmp174, tmp22)
    tmp176 = tl.full(tmp175.shape, 0.0, tmp175.dtype)
    tmp177 = tl.where(tmp169, tmp175, tmp176)
    tmp178 = tl.where(tmp9, tmp177, tmp22)
    tmp179 = tl.full(tmp178.shape, 0.0, tmp178.dtype)
    tmp180 = tl.where(tmp168, tmp178, tmp179)
    tmp181 = tmp9 & tmp167
    tmp182 = tmp17 & tmp181
    tmp183 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp182 & xmask, other=0.0)
    tmp184 = tmp22 + tmp183
    tmp185 = tl.full(tmp184.shape, 0.0, tmp184.dtype)
    tmp186 = tl.where(tmp182, tmp184, tmp185)
    tmp187 = tl.where(tmp17, tmp186, tmp22)
    tmp188 = tl.full(tmp187.shape, 0.0, tmp187.dtype)
    tmp189 = tl.where(tmp181, tmp187, tmp188)
    tmp190 = tl.where(tmp9, tmp189, tmp22)
    tmp191 = tl.where(tmp17, tmp180, tmp190)
    tmp192 = tl.full(tmp191.shape, 0.0, tmp191.dtype)
    tmp193 = tl.where(tmp167, tmp191, tmp192)
    tmp194 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp168 & xmask, other=0.0)
    tmp195 = tmp22 + tmp194
    tmp196 = tl.full(tmp195.shape, 0.0, tmp195.dtype)
    tmp197 = tl.where(tmp168, tmp195, tmp196)
    tmp198 = tl.where(tmp17, tmp197, tmp22)
    tmp199 = tl.full(tmp198.shape, 0.0, tmp198.dtype)
    tmp200 = tl.where(tmp167, tmp198, tmp199)
    tmp201 = tl.where(tmp9, tmp200, tmp22)
    tmp202 = tl.where(tmp9, tmp193, tmp201)
    tmp203 = tl.where(tmp12, tmp166, tmp202)
    tmp204 = tl.full(tmp203.shape, 0.0, tmp203.dtype)
    tmp205 = tl.where(tmp125, tmp203, tmp204)
    tmp206 = tmp17 & tmp125
    tmp207 = tmp9 & tmp206
    tmp208 = tmp17 & tmp207
    tmp209 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp208 & xmask, other=0.0)
    tmp210 = tmp22 + tmp209
    tmp211 = tl.full(tmp210.shape, 0.0, tmp210.dtype)
    tmp212 = tl.where(tmp208, tmp210, tmp211)
    tmp213 = tl.where(tmp17, tmp212, tmp22)
    tmp214 = tl.full(tmp213.shape, 0.0, tmp213.dtype)
    tmp215 = tl.where(tmp207, tmp213, tmp214)
    tmp216 = tl.where(tmp9, tmp215, tmp22)
    tmp217 = tl.full(tmp216.shape, 0.0, tmp216.dtype)
    tmp218 = tl.where(tmp206, tmp216, tmp217)
    tmp219 = tl.where(tmp17, tmp218, tmp201)
    tmp220 = tl.full(tmp219.shape, 0.0, tmp219.dtype)
    tmp221 = tl.where(tmp125, tmp219, tmp220)
    tmp222 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp206 & xmask, other=0.0)
    tmp223 = tmp22 + tmp222
    tmp224 = tl.full(tmp223.shape, 0.0, tmp223.dtype)
    tmp225 = tl.where(tmp206, tmp223, tmp224)
    tmp226 = tl.where(tmp17, tmp225, tmp22)
    tmp227 = tl.full(tmp226.shape, 0.0, tmp226.dtype)
    tmp228 = tl.where(tmp125, tmp226, tmp227)
    tmp229 = tl.where(tmp9, tmp228, tmp22)
    tmp230 = tl.where(tmp9, tmp221, tmp229)
    tmp231 = tl.where(tmp9, tmp205, tmp230)
    tmp232 = tl.where(tmp12, tmp124, tmp231)
    tmp233 = tl.full(tmp232.shape, 0.0, tmp232.dtype)
    tmp234 = tl.where(tmp9, tmp232, tmp233)
    tmp235 = tl.load(in_ptr1 + (12 + x0 + 4 * x1), tmp13 & xmask, other=0.0)
    tmp236 = tmp121 + tmp235
    tmp237 = tl.full(tmp236.shape, 0.0, tmp236.dtype)
    tmp238 = tl.where(tmp13, tmp236, tmp237)
    tmp239 = tl.where(tmp12, tmp238, tmp230)
    tmp240 = tl.full(tmp239.shape, 0.0, tmp239.dtype)
    tmp241 = tl.where(tmp9, tmp239, tmp240)
    tmp242 = tmp17 & tmp9
    tmp243 = tmp9 & tmp242
    tmp244 = tmp17 & tmp243
    tmp245 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp244 & xmask, other=0.0)
    tmp246 = tmp22 + tmp245
    tmp247 = tl.full(tmp246.shape, 0.0, tmp246.dtype)
    tmp248 = tl.where(tmp244, tmp246, tmp247)
    tmp249 = tl.where(tmp17, tmp248, tmp22)
    tmp250 = tl.full(tmp249.shape, 0.0, tmp249.dtype)
    tmp251 = tl.where(tmp243, tmp249, tmp250)
    tmp252 = tl.where(tmp9, tmp251, tmp22)
    tmp253 = tl.full(tmp252.shape, 0.0, tmp252.dtype)
    tmp254 = tl.where(tmp242, tmp252, tmp253)
    tmp255 = tl.where(tmp17, tmp254, tmp229)
    tmp256 = tl.full(tmp255.shape, 0.0, tmp255.dtype)
    tmp257 = tl.where(tmp9, tmp255, tmp256)
    tmp258 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp242 & xmask, other=0.0)
    tmp259 = tmp22 + tmp258
    tmp260 = tl.full(tmp259.shape, 0.0, tmp259.dtype)
    tmp261 = tl.where(tmp242, tmp259, tmp260)
    tmp262 = tl.where(tmp17, tmp261, tmp22)
    tmp263 = tl.full(tmp262.shape, 0.0, tmp262.dtype)
    tmp264 = tl.where(tmp9, tmp262, tmp263)
    tmp265 = tl.where(tmp9, tmp264, tmp22)
    tmp266 = tl.where(tmp9, tmp257, tmp265)
    tmp267 = tl.where(tmp9, tmp241, tmp266)
    tmp268 = tl.where(tmp9, tmp234, tmp267)
    tmp269 = tl.where(tmp5, tmp6, tmp268)
    tl.store(out_ptr0 + x2, tmp269, xmask)


@triton.jit
def triton_poi_fused_add_zeros_2(in_out_ptr0, in_ptr0, in_ptr1, xnumel,
    XBLOCK: tl.constexpr):
    xnumel = 256
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x1 = xindex // 16
    x2 = xindex
    x0 = xindex % 16
    tmp0 = x1
    tmp1 = tl.full([1], 4, tl.int64)
    tmp2 = tmp0 < tmp1
    tmp3 = tl.load(in_ptr0 + x2, tmp2 & xmask, other=0.0)
    tmp4 = x0
    tmp5 = tmp4 >= tmp1
    tmp6 = tl.full([1], 8, tl.int64)
    tmp7 = tmp4 < tmp6
    tmp8 = tmp5 & tmp7
    tmp9 = tmp8 & tmp2
    tmp10 = tmp2 & tmp9
    tmp11 = tmp8 & tmp10
    tmp12 = tmp2 & tmp11
    tmp13 = tmp4 < tmp1
    tmp14 = tmp13 & tmp12
    tmp15 = tmp2 & tmp14
    tmp16 = tmp13 & tmp15
    tmp17 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp16 & xmask, other=0.0)
    tmp18 = 0.0
    tmp19 = tmp18 + tmp17
    tmp20 = tl.full(tmp19.shape, 0.0, tmp19.dtype)
    tmp21 = tl.where(tmp16, tmp19, tmp20)
    tmp22 = tl.where(tmp13, tmp21, tmp18)
    tmp23 = tl.full(tmp22.shape, 0.0, tmp22.dtype)
    tmp24 = tl.where(tmp15, tmp22, tmp23)
    tmp25 = tl.where(tmp2, tmp24, tmp18)
    tmp26 = tl.full(tmp25.shape, 0.0, tmp25.dtype)
    tmp27 = tl.where(tmp14, tmp25, tmp26)
    tmp28 = tmp2 & tmp12
    tmp29 = tmp13 & tmp28
    tmp30 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp29 & xmask, other=0.0)
    tmp31 = tmp18 + tmp30
    tmp32 = tl.full(tmp31.shape, 0.0, tmp31.dtype)
    tmp33 = tl.where(tmp29, tmp31, tmp32)
    tmp34 = tl.where(tmp13, tmp33, tmp18)
    tmp35 = tl.full(tmp34.shape, 0.0, tmp34.dtype)
    tmp36 = tl.where(tmp28, tmp34, tmp35)
    tmp37 = tl.where(tmp2, tmp36, tmp18)
    tmp38 = tl.where(tmp13, tmp27, tmp37)
    tmp39 = tl.full(tmp38.shape, 0.0, tmp38.dtype)
    tmp40 = tl.where(tmp12, tmp38, tmp39)
    tmp41 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp14 & xmask, other=0.0)
    tmp42 = tmp18 + tmp41
    tmp43 = tl.full(tmp42.shape, 0.0, tmp42.dtype)
    tmp44 = tl.where(tmp14, tmp42, tmp43)
    tmp45 = tl.where(tmp13, tmp44, tmp18)
    tmp46 = tl.full(tmp45.shape, 0.0, tmp45.dtype)
    tmp47 = tl.where(tmp12, tmp45, tmp46)
    tmp48 = tl.where(tmp2, tmp47, tmp18)
    tmp49 = tl.where(tmp2, tmp40, tmp48)
    tmp50 = tl.load(in_ptr1 + (12 + x0 + 4 * x1), tmp11 & xmask, other=0.0)
    tmp51 = tmp49 + tmp50
    tmp52 = tl.full(tmp51.shape, 0.0, tmp51.dtype)
    tmp53 = tl.where(tmp11, tmp51, tmp52)
    tmp54 = tmp2 & tmp10
    tmp55 = tmp13 & tmp54
    tmp56 = tmp2 & tmp55
    tmp57 = tmp13 & tmp56
    tmp58 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp57 & xmask, other=0.0)
    tmp59 = tmp18 + tmp58
    tmp60 = tl.full(tmp59.shape, 0.0, tmp59.dtype)
    tmp61 = tl.where(tmp57, tmp59, tmp60)
    tmp62 = tl.where(tmp13, tmp61, tmp18)
    tmp63 = tl.full(tmp62.shape, 0.0, tmp62.dtype)
    tmp64 = tl.where(tmp56, tmp62, tmp63)
    tmp65 = tl.where(tmp2, tmp64, tmp18)
    tmp66 = tl.full(tmp65.shape, 0.0, tmp65.dtype)
    tmp67 = tl.where(tmp55, tmp65, tmp66)
    tmp68 = tmp2 & tmp54
    tmp69 = tmp13 & tmp68
    tmp70 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp69 & xmask, other=0.0)
    tmp71 = tmp18 + tmp70
    tmp72 = tl.full(tmp71.shape, 0.0, tmp71.dtype)
    tmp73 = tl.where(tmp69, tmp71, tmp72)
    tmp74 = tl.where(tmp13, tmp73, tmp18)
    tmp75 = tl.full(tmp74.shape, 0.0, tmp74.dtype)
    tmp76 = tl.where(tmp68, tmp74, tmp75)
    tmp77 = tl.where(tmp2, tmp76, tmp18)
    tmp78 = tl.where(tmp13, tmp67, tmp77)
    tmp79 = tl.full(tmp78.shape, 0.0, tmp78.dtype)
    tmp80 = tl.where(tmp54, tmp78, tmp79)
    tmp81 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp55 & xmask, other=0.0)
    tmp82 = tmp18 + tmp81
    tmp83 = tl.full(tmp82.shape, 0.0, tmp82.dtype)
    tmp84 = tl.where(tmp55, tmp82, tmp83)
    tmp85 = tl.where(tmp13, tmp84, tmp18)
    tmp86 = tl.full(tmp85.shape, 0.0, tmp85.dtype)
    tmp87 = tl.where(tmp54, tmp85, tmp86)
    tmp88 = tl.where(tmp2, tmp87, tmp18)
    tmp89 = tl.where(tmp2, tmp80, tmp88)
    tmp90 = tl.where(tmp8, tmp53, tmp89)
    tmp91 = tl.full(tmp90.shape, 0.0, tmp90.dtype)
    tmp92 = tl.where(tmp10, tmp90, tmp91)
    tmp93 = tmp13 & tmp10
    tmp94 = tmp2 & tmp93
    tmp95 = tmp13 & tmp94
    tmp96 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp95 & xmask, other=0.0)
    tmp97 = tmp18 + tmp96
    tmp98 = tl.full(tmp97.shape, 0.0, tmp97.dtype)
    tmp99 = tl.where(tmp95, tmp97, tmp98)
    tmp100 = tl.where(tmp13, tmp99, tmp18)
    tmp101 = tl.full(tmp100.shape, 0.0, tmp100.dtype)
    tmp102 = tl.where(tmp94, tmp100, tmp101)
    tmp103 = tl.where(tmp2, tmp102, tmp18)
    tmp104 = tl.full(tmp103.shape, 0.0, tmp103.dtype)
    tmp105 = tl.where(tmp93, tmp103, tmp104)
    tmp106 = tl.where(tmp13, tmp105, tmp88)
    tmp107 = tl.full(tmp106.shape, 0.0, tmp106.dtype)
    tmp108 = tl.where(tmp10, tmp106, tmp107)
    tmp109 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp93 & xmask, other=0.0)
    tmp110 = tmp18 + tmp109
    tmp111 = tl.full(tmp110.shape, 0.0, tmp110.dtype)
    tmp112 = tl.where(tmp93, tmp110, tmp111)
    tmp113 = tl.where(tmp13, tmp112, tmp18)
    tmp114 = tl.full(tmp113.shape, 0.0, tmp113.dtype)
    tmp115 = tl.where(tmp10, tmp113, tmp114)
    tmp116 = tl.where(tmp2, tmp115, tmp18)
    tmp117 = tl.where(tmp2, tmp108, tmp116)
    tmp118 = tl.where(tmp2, tmp92, tmp117)
    tmp119 = tl.full(tmp118.shape, 0.0, tmp118.dtype)
    tmp120 = tl.where(tmp9, tmp118, tmp119)
    tmp121 = tmp2 & tmp2
    tmp122 = tmp8 & tmp121
    tmp123 = tmp2 & tmp122
    tmp124 = tmp13 & tmp123
    tmp125 = tmp2 & tmp124
    tmp126 = tmp13 & tmp125
    tmp127 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp126 & xmask, other=0.0)
    tmp128 = tmp18 + tmp127
    tmp129 = tl.full(tmp128.shape, 0.0, tmp128.dtype)
    tmp130 = tl.where(tmp126, tmp128, tmp129)
    tmp131 = tl.where(tmp13, tmp130, tmp18)
    tmp132 = tl.full(tmp131.shape, 0.0, tmp131.dtype)
    tmp133 = tl.where(tmp125, tmp131, tmp132)
    tmp134 = tl.where(tmp2, tmp133, tmp18)
    tmp135 = tl.full(tmp134.shape, 0.0, tmp134.dtype)
    tmp136 = tl.where(tmp124, tmp134, tmp135)
    tmp137 = tmp2 & tmp123
    tmp138 = tmp13 & tmp137
    tmp139 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp138 & xmask, other=0.0)
    tmp140 = tmp18 + tmp139
    tmp141 = tl.full(tmp140.shape, 0.0, tmp140.dtype)
    tmp142 = tl.where(tmp138, tmp140, tmp141)
    tmp143 = tl.where(tmp13, tmp142, tmp18)
    tmp144 = tl.full(tmp143.shape, 0.0, tmp143.dtype)
    tmp145 = tl.where(tmp137, tmp143, tmp144)
    tmp146 = tl.where(tmp2, tmp145, tmp18)
    tmp147 = tl.where(tmp13, tmp136, tmp146)
    tmp148 = tl.full(tmp147.shape, 0.0, tmp147.dtype)
    tmp149 = tl.where(tmp123, tmp147, tmp148)
    tmp150 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp124 & xmask, other=0.0)
    tmp151 = tmp18 + tmp150
    tmp152 = tl.full(tmp151.shape, 0.0, tmp151.dtype)
    tmp153 = tl.where(tmp124, tmp151, tmp152)
    tmp154 = tl.where(tmp13, tmp153, tmp18)
    tmp155 = tl.full(tmp154.shape, 0.0, tmp154.dtype)
    tmp156 = tl.where(tmp123, tmp154, tmp155)
    tmp157 = tl.where(tmp2, tmp156, tmp18)
    tmp158 = tl.where(tmp2, tmp149, tmp157)
    tmp159 = tl.load(in_ptr1 + (12 + x0 + 4 * x1), tmp122 & xmask, other=0.0)
    tmp160 = tmp158 + tmp159
    tmp161 = tl.full(tmp160.shape, 0.0, tmp160.dtype)
    tmp162 = tl.where(tmp122, tmp160, tmp161)
    tmp163 = tmp2 & tmp121
    tmp164 = tmp13 & tmp163
    tmp165 = tmp2 & tmp164
    tmp166 = tmp13 & tmp165
    tmp167 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp166 & xmask, other=0.0)
    tmp168 = tmp18 + tmp167
    tmp169 = tl.full(tmp168.shape, 0.0, tmp168.dtype)
    tmp170 = tl.where(tmp166, tmp168, tmp169)
    tmp171 = tl.where(tmp13, tmp170, tmp18)
    tmp172 = tl.full(tmp171.shape, 0.0, tmp171.dtype)
    tmp173 = tl.where(tmp165, tmp171, tmp172)
    tmp174 = tl.where(tmp2, tmp173, tmp18)
    tmp175 = tl.full(tmp174.shape, 0.0, tmp174.dtype)
    tmp176 = tl.where(tmp164, tmp174, tmp175)
    tmp177 = tmp2 & tmp163
    tmp178 = tmp13 & tmp177
    tmp179 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp178 & xmask, other=0.0)
    tmp180 = tmp18 + tmp179
    tmp181 = tl.full(tmp180.shape, 0.0, tmp180.dtype)
    tmp182 = tl.where(tmp178, tmp180, tmp181)
    tmp183 = tl.where(tmp13, tmp182, tmp18)
    tmp184 = tl.full(tmp183.shape, 0.0, tmp183.dtype)
    tmp185 = tl.where(tmp177, tmp183, tmp184)
    tmp186 = tl.where(tmp2, tmp185, tmp18)
    tmp187 = tl.where(tmp13, tmp176, tmp186)
    tmp188 = tl.full(tmp187.shape, 0.0, tmp187.dtype)
    tmp189 = tl.where(tmp163, tmp187, tmp188)
    tmp190 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp164 & xmask, other=0.0)
    tmp191 = tmp18 + tmp190
    tmp192 = tl.full(tmp191.shape, 0.0, tmp191.dtype)
    tmp193 = tl.where(tmp164, tmp191, tmp192)
    tmp194 = tl.where(tmp13, tmp193, tmp18)
    tmp195 = tl.full(tmp194.shape, 0.0, tmp194.dtype)
    tmp196 = tl.where(tmp163, tmp194, tmp195)
    tmp197 = tl.where(tmp2, tmp196, tmp18)
    tmp198 = tl.where(tmp2, tmp189, tmp197)
    tmp199 = tl.where(tmp8, tmp162, tmp198)
    tmp200 = tl.full(tmp199.shape, 0.0, tmp199.dtype)
    tmp201 = tl.where(tmp121, tmp199, tmp200)
    tmp202 = tmp13 & tmp121
    tmp203 = tmp2 & tmp202
    tmp204 = tmp13 & tmp203
    tmp205 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp204 & xmask, other=0.0)
    tmp206 = tmp18 + tmp205
    tmp207 = tl.full(tmp206.shape, 0.0, tmp206.dtype)
    tmp208 = tl.where(tmp204, tmp206, tmp207)
    tmp209 = tl.where(tmp13, tmp208, tmp18)
    tmp210 = tl.full(tmp209.shape, 0.0, tmp209.dtype)
    tmp211 = tl.where(tmp203, tmp209, tmp210)
    tmp212 = tl.where(tmp2, tmp211, tmp18)
    tmp213 = tl.full(tmp212.shape, 0.0, tmp212.dtype)
    tmp214 = tl.where(tmp202, tmp212, tmp213)
    tmp215 = tl.where(tmp13, tmp214, tmp197)
    tmp216 = tl.full(tmp215.shape, 0.0, tmp215.dtype)
    tmp217 = tl.where(tmp121, tmp215, tmp216)
    tmp218 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp202 & xmask, other=0.0)
    tmp219 = tmp18 + tmp218
    tmp220 = tl.full(tmp219.shape, 0.0, tmp219.dtype)
    tmp221 = tl.where(tmp202, tmp219, tmp220)
    tmp222 = tl.where(tmp13, tmp221, tmp18)
    tmp223 = tl.full(tmp222.shape, 0.0, tmp222.dtype)
    tmp224 = tl.where(tmp121, tmp222, tmp223)
    tmp225 = tl.where(tmp2, tmp224, tmp18)
    tmp226 = tl.where(tmp2, tmp217, tmp225)
    tmp227 = tl.where(tmp2, tmp201, tmp226)
    tmp228 = tl.where(tmp8, tmp120, tmp227)
    tmp229 = tl.full(tmp228.shape, 0.0, tmp228.dtype)
    tmp230 = tl.where(tmp2, tmp228, tmp229)
    tmp231 = tl.load(in_ptr1 + (12 + x0 + 4 * x1), tmp9 & xmask, other=0.0)
    tmp232 = tmp117 + tmp231
    tmp233 = tl.full(tmp232.shape, 0.0, tmp232.dtype)
    tmp234 = tl.where(tmp9, tmp232, tmp233)
    tmp235 = tl.where(tmp8, tmp234, tmp226)
    tmp236 = tl.full(tmp235.shape, 0.0, tmp235.dtype)
    tmp237 = tl.where(tmp2, tmp235, tmp236)
    tmp238 = tmp13 & tmp2
    tmp239 = tmp2 & tmp238
    tmp240 = tmp13 & tmp239
    tmp241 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp240 & xmask, other=0.0)
    tmp242 = tmp18 + tmp241
    tmp243 = tl.full(tmp242.shape, 0.0, tmp242.dtype)
    tmp244 = tl.where(tmp240, tmp242, tmp243)
    tmp245 = tl.where(tmp13, tmp244, tmp18)
    tmp246 = tl.full(tmp245.shape, 0.0, tmp245.dtype)
    tmp247 = tl.where(tmp239, tmp245, tmp246)
    tmp248 = tl.where(tmp2, tmp247, tmp18)
    tmp249 = tl.full(tmp248.shape, 0.0, tmp248.dtype)
    tmp250 = tl.where(tmp238, tmp248, tmp249)
    tmp251 = tl.where(tmp13, tmp250, tmp225)
    tmp252 = tl.full(tmp251.shape, 0.0, tmp251.dtype)
    tmp253 = tl.where(tmp2, tmp251, tmp252)
    tmp254 = tl.load(in_ptr1 + (x0 + 4 * x1), tmp238 & xmask, other=0.0)
    tmp255 = tmp18 + tmp254
    tmp256 = tl.full(tmp255.shape, 0.0, tmp255.dtype)
    tmp257 = tl.where(tmp238, tmp255, tmp256)
    tmp258 = tl.where(tmp13, tmp257, tmp18)
    tmp259 = tl.full(tmp258.shape, 0.0, tmp258.dtype)
    tmp260 = tl.where(tmp2, tmp258, tmp259)
    tmp261 = tl.where(tmp2, tmp260, tmp18)
    tmp262 = tl.where(tmp2, tmp253, tmp261)
    tmp263 = tl.where(tmp2, tmp237, tmp262)
    tmp264 = tl.where(tmp2, tmp230, tmp263)
    tmp265 = tl.where(tmp2, tmp3, tmp264)
    tmp266 = tmp0 >= tmp1
    tmp267 = tmp0 < tmp6
    tmp268 = tmp266 & tmp267
    tmp269 = tmp13 & tmp268
    tmp270 = tmp2 & tmp269
    tmp271 = tl.full([1], 12, tl.int64)
    tmp272 = tmp4 >= tmp271
    tmp273 = tmp272 & tmp270
    tmp274 = tmp2 & tmp273
    tmp275 = tmp272 & tmp274
    tmp276 = tmp2 & tmp275
    tmp277 = tmp4 >= tmp6
    tmp278 = tmp4 < tmp271
    tmp279 = tmp277 & tmp278
    tmp279 & tmp276
    tmp281 = tl.where(tmp279, tmp265, tmp265)
    tmp282 = tl.full(tmp281.shape, 0.0, tmp281.dtype)
    tmp283 = tl.where(tmp276, tmp281, tmp282)
    tmp284 = tl.where(tmp2, tmp283, tmp265)
    tmp285 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp275 & xmask, other=0.0)
    tmp286 = tmp284 + tmp285
    tmp287 = tl.full(tmp286.shape, 0.0, tmp286.dtype)
    tmp288 = tl.where(tmp275, tmp286, tmp287)
    tmp289 = tmp2 & tmp274
    tmp279 & tmp289
    tmp291 = tl.where(tmp289, tmp281, tmp282)
    tmp292 = tl.where(tmp2, tmp291, tmp265)
    tmp293 = tl.where(tmp272, tmp288, tmp292)
    tmp294 = tl.full(tmp293.shape, 0.0, tmp293.dtype)
    tmp295 = tl.where(tmp274, tmp293, tmp294)
    tmp279 & tmp274
    tmp297 = tl.where(tmp274, tmp281, tmp282)
    tmp298 = tl.where(tmp2, tmp297, tmp265)
    tmp299 = tl.where(tmp2, tmp295, tmp298)
    tmp300 = tl.full(tmp299.shape, 0.0, tmp299.dtype)
    tmp301 = tl.where(tmp273, tmp299, tmp300)
    tmp302 = tmp2 & tmp270
    tmp303 = tmp272 & tmp302
    tmp304 = tmp2 & tmp303
    tmp279 & tmp304
    tmp306 = tl.where(tmp304, tmp281, tmp282)
    tmp307 = tl.where(tmp2, tmp306, tmp265)
    tmp308 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp303 & xmask, other=0.0)
    tmp309 = tmp307 + tmp308
    tmp310 = tl.full(tmp309.shape, 0.0, tmp309.dtype)
    tmp311 = tl.where(tmp303, tmp309, tmp310)
    tmp312 = tmp2 & tmp302
    tmp279 & tmp312
    tmp314 = tl.where(tmp312, tmp281, tmp282)
    tmp315 = tl.where(tmp2, tmp314, tmp265)
    tmp316 = tl.where(tmp272, tmp311, tmp315)
    tmp317 = tl.full(tmp316.shape, 0.0, tmp316.dtype)
    tmp318 = tl.where(tmp302, tmp316, tmp317)
    tmp279 & tmp302
    tmp320 = tl.where(tmp302, tmp281, tmp282)
    tmp321 = tl.where(tmp2, tmp320, tmp265)
    tmp322 = tl.where(tmp2, tmp318, tmp321)
    tmp323 = tl.where(tmp272, tmp301, tmp322)
    tmp324 = tl.full(tmp323.shape, 0.0, tmp323.dtype)
    tmp325 = tl.where(tmp270, tmp323, tmp324)
    tmp326 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp273 & xmask, other=0.0)
    tmp327 = tmp298 + tmp326
    tmp328 = tl.full(tmp327.shape, 0.0, tmp327.dtype)
    tmp329 = tl.where(tmp273, tmp327, tmp328)
    tmp330 = tl.where(tmp272, tmp329, tmp321)
    tmp331 = tl.full(tmp330.shape, 0.0, tmp330.dtype)
    tmp332 = tl.where(tmp270, tmp330, tmp331)
    tmp279 & tmp270
    tmp334 = tl.where(tmp270, tmp281, tmp282)
    tmp335 = tl.where(tmp2, tmp334, tmp265)
    tmp336 = tl.where(tmp2, tmp332, tmp335)
    tmp337 = tl.where(tmp2, tmp325, tmp336)
    tmp338 = tl.load(in_ptr1 + (48 + x0 + 4 * x1), tmp269 & xmask, other=0.0)
    tmp339 = tmp337 + tmp338
    tmp340 = tl.full(tmp339.shape, 0.0, tmp339.dtype)
    tmp341 = tl.where(tmp269, tmp339, tmp340)
    tmp342 = tmp2 & tmp268
    tmp343 = tmp272 & tmp342
    tmp344 = tmp2 & tmp343
    tmp345 = tmp272 & tmp344
    tmp346 = tmp2 & tmp345
    tmp279 & tmp346
    tmp348 = tl.where(tmp346, tmp281, tmp282)
    tmp349 = tl.where(tmp2, tmp348, tmp265)
    tmp350 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp345 & xmask, other=0.0)
    tmp351 = tmp349 + tmp350
    tmp352 = tl.full(tmp351.shape, 0.0, tmp351.dtype)
    tmp353 = tl.where(tmp345, tmp351, tmp352)
    tmp354 = tmp2 & tmp344
    tmp279 & tmp354
    tmp356 = tl.where(tmp354, tmp281, tmp282)
    tmp357 = tl.where(tmp2, tmp356, tmp265)
    tmp358 = tl.where(tmp272, tmp353, tmp357)
    tmp359 = tl.full(tmp358.shape, 0.0, tmp358.dtype)
    tmp360 = tl.where(tmp344, tmp358, tmp359)
    tmp279 & tmp344
    tmp362 = tl.where(tmp344, tmp281, tmp282)
    tmp363 = tl.where(tmp2, tmp362, tmp265)
    tmp364 = tl.where(tmp2, tmp360, tmp363)
    tmp365 = tl.full(tmp364.shape, 0.0, tmp364.dtype)
    tmp366 = tl.where(tmp343, tmp364, tmp365)
    tmp367 = tmp2 & tmp342
    tmp368 = tmp272 & tmp367
    tmp369 = tmp2 & tmp368
    tmp279 & tmp369
    tmp371 = tl.where(tmp369, tmp281, tmp282)
    tmp372 = tl.where(tmp2, tmp371, tmp265)
    tmp373 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp368 & xmask, other=0.0)
    tmp374 = tmp372 + tmp373
    tmp375 = tl.full(tmp374.shape, 0.0, tmp374.dtype)
    tmp376 = tl.where(tmp368, tmp374, tmp375)
    tmp377 = tmp2 & tmp367
    tmp279 & tmp377
    tmp379 = tl.where(tmp377, tmp281, tmp282)
    tmp380 = tl.where(tmp2, tmp379, tmp265)
    tmp381 = tl.where(tmp272, tmp376, tmp380)
    tmp382 = tl.full(tmp381.shape, 0.0, tmp381.dtype)
    tmp383 = tl.where(tmp367, tmp381, tmp382)
    tmp279 & tmp367
    tmp385 = tl.where(tmp367, tmp281, tmp282)
    tmp386 = tl.where(tmp2, tmp385, tmp265)
    tmp387 = tl.where(tmp2, tmp383, tmp386)
    tmp388 = tl.where(tmp272, tmp366, tmp387)
    tmp389 = tl.full(tmp388.shape, 0.0, tmp388.dtype)
    tmp390 = tl.where(tmp342, tmp388, tmp389)
    tmp391 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp343 & xmask, other=0.0)
    tmp392 = tmp363 + tmp391
    tmp393 = tl.full(tmp392.shape, 0.0, tmp392.dtype)
    tmp394 = tl.where(tmp343, tmp392, tmp393)
    tmp395 = tl.where(tmp272, tmp394, tmp386)
    tmp396 = tl.full(tmp395.shape, 0.0, tmp395.dtype)
    tmp397 = tl.where(tmp342, tmp395, tmp396)
    tmp279 & tmp342
    tmp399 = tl.where(tmp342, tmp281, tmp282)
    tmp400 = tl.where(tmp2, tmp399, tmp265)
    tmp401 = tl.where(tmp2, tmp397, tmp400)
    tmp402 = tl.where(tmp2, tmp390, tmp401)
    tmp403 = tl.where(tmp13, tmp341, tmp402)
    tmp404 = tl.full(tmp403.shape, 0.0, tmp403.dtype)
    tmp405 = tl.where(tmp268, tmp403, tmp404)
    tmp406 = tmp272 & tmp2
    tmp407 = tmp2 & tmp406
    tmp408 = tmp272 & tmp407
    tmp409 = tmp2 & tmp408
    tmp279 & tmp409
    tmp411 = tl.where(tmp409, tmp281, tmp282)
    tmp412 = tl.where(tmp2, tmp411, tmp265)
    tmp413 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp408 & xmask, other=0.0)
    tmp414 = tmp412 + tmp413
    tmp415 = tl.full(tmp414.shape, 0.0, tmp414.dtype)
    tmp416 = tl.where(tmp408, tmp414, tmp415)
    tmp417 = tmp2 & tmp407
    tmp279 & tmp417
    tmp419 = tl.where(tmp417, tmp281, tmp282)
    tmp420 = tl.where(tmp2, tmp419, tmp265)
    tmp421 = tl.where(tmp272, tmp416, tmp420)
    tmp422 = tl.full(tmp421.shape, 0.0, tmp421.dtype)
    tmp423 = tl.where(tmp407, tmp421, tmp422)
    tmp279 & tmp407
    tmp425 = tl.where(tmp407, tmp281, tmp282)
    tmp426 = tl.where(tmp2, tmp425, tmp265)
    tmp427 = tl.where(tmp2, tmp423, tmp426)
    tmp428 = tl.full(tmp427.shape, 0.0, tmp427.dtype)
    tmp429 = tl.where(tmp406, tmp427, tmp428)
    tmp430 = tmp272 & tmp121
    tmp431 = tmp2 & tmp430
    tmp279 & tmp431
    tmp433 = tl.where(tmp431, tmp281, tmp282)
    tmp434 = tl.where(tmp2, tmp433, tmp265)
    tmp435 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp430 & xmask, other=0.0)
    tmp436 = tmp434 + tmp435
    tmp437 = tl.full(tmp436.shape, 0.0, tmp436.dtype)
    tmp438 = tl.where(tmp430, tmp436, tmp437)
    tmp279 & tmp163
    tmp440 = tl.where(tmp163, tmp281, tmp282)
    tmp441 = tl.where(tmp2, tmp440, tmp265)
    tmp442 = tl.where(tmp272, tmp438, tmp441)
    tmp443 = tl.full(tmp442.shape, 0.0, tmp442.dtype)
    tmp444 = tl.where(tmp121, tmp442, tmp443)
    tmp279 & tmp121
    tmp446 = tl.where(tmp121, tmp281, tmp282)
    tmp447 = tl.where(tmp2, tmp446, tmp265)
    tmp448 = tl.where(tmp2, tmp444, tmp447)
    tmp449 = tl.where(tmp272, tmp429, tmp448)
    tmp450 = tl.full(tmp449.shape, 0.0, tmp449.dtype)
    tmp451 = tl.where(tmp2, tmp449, tmp450)
    tmp452 = tl.load(in_ptr1 + (36 + x0 + 4 * x1), tmp406 & xmask, other=0.0)
    tmp453 = tmp426 + tmp452
    tmp454 = tl.full(tmp453.shape, 0.0, tmp453.dtype)
    tmp455 = tl.where(tmp406, tmp453, tmp454)
    tmp456 = tl.where(tmp272, tmp455, tmp447)
    tmp457 = tl.full(tmp456.shape, 0.0, tmp456.dtype)
    tmp458 = tl.where(tmp2, tmp456, tmp457)
    tmp279 & tmp2
    tmp460 = tl.where(tmp2, tmp281, tmp282)
    tmp461 = tl.where(tmp2, tmp460, tmp265)
    tmp462 = tl.where(tmp2, tmp458, tmp461)
    tmp463 = tl.where(tmp2, tmp451, tmp462)
    tmp464 = tl.where(tmp268, tmp405, tmp463)
    tl.store(in_out_ptr0 + x2, tmp464, xmask)


@triton.jit
def triton_poi_fused_add_3(in_ptr0, in_ptr1, out_ptr0, out_ptr1, xnumel,
    XBLOCK: tl.constexpr):
    xnumel = 64
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x0 = xindex % 16
    x1 = xindex // 16
    x2 = xindex
    tmp200 = tl.load(in_ptr0 + (64 + x2), xmask)
    tmp0 = x0
    tmp1 = tl.full([1], 8, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.full([1], 12, tl.int64)
    tmp4 = tmp0 < tmp3
    tmp5 = tmp2 & tmp4
    tmp6 = 4 + x1
    tmp7 = tl.full([1], 4, tl.int64)
    tmp8 = tmp6 >= tmp7
    tmp9 = tmp6 < tmp1
    tmp10 = tmp8 & tmp9
    tmp11 = tmp10 & tmp5
    tmp12 = tmp0 >= tmp7
    tmp13 = tmp0 < tmp1
    tmp14 = tmp12 & tmp13
    tmp15 = tmp14 & tmp11
    tmp16 = tmp10 & tmp15
    tmp17 = tmp14 & tmp16
    tmp18 = tmp10 & tmp17
    tmp19 = tmp0 < tmp7
    tmp20 = tmp19 & tmp18
    tmp21 = tl.load(in_ptr0 + (64 + x2), tmp20 & xmask, other=0.0)
    tmp22 = tl.load(in_ptr0 + (64 + x2), tmp18 & xmask, other=0.0)
    tmp23 = tl.where(tmp19, tmp21, tmp22)
    tmp24 = tl.full(tmp23.shape, 0.0, tmp23.dtype)
    tmp25 = tl.where(tmp18, tmp23, tmp24)
    tmp26 = tl.load(in_ptr0 + (64 + x2), tmp17 & xmask, other=0.0)
    tmp27 = tl.where(tmp10, tmp25, tmp26)
    tmp28 = tl.load(in_ptr1 + (76 + x0 + 4 * x1), tmp17 & xmask, other=0.0)
    tmp29 = tmp27 + tmp28
    tmp30 = tl.full(tmp29.shape, 0.0, tmp29.dtype)
    tmp31 = tl.where(tmp17, tmp29, tmp30)
    tmp32 = tmp10 & tmp16
    tmp33 = tmp19 & tmp32
    tmp34 = tl.load(in_ptr0 + (64 + x2), tmp33 & xmask, other=0.0)
    tmp35 = tl.load(in_ptr0 + (64 + x2), tmp32 & xmask, other=0.0)
    tmp36 = tl.where(tmp19, tmp34, tmp35)
    tmp37 = tl.full(tmp36.shape, 0.0, tmp36.dtype)
    tmp38 = tl.where(tmp32, tmp36, tmp37)
    tmp39 = tl.load(in_ptr0 + (64 + x2), tmp16 & xmask, other=0.0)
    tmp40 = tl.where(tmp10, tmp38, tmp39)
    tmp41 = tl.where(tmp14, tmp31, tmp40)
    tmp42 = tl.full(tmp41.shape, 0.0, tmp41.dtype)
    tmp43 = tl.where(tmp16, tmp41, tmp42)
    tmp44 = tmp19 & tmp16
    tmp45 = tl.load(in_ptr0 + (64 + x2), tmp44 & xmask, other=0.0)
    tmp46 = tl.where(tmp19, tmp45, tmp39)
    tmp47 = tl.full(tmp46.shape, 0.0, tmp46.dtype)
    tmp48 = tl.where(tmp16, tmp46, tmp47)
    tmp49 = tl.load(in_ptr0 + (64 + x2), tmp15 & xmask, other=0.0)
    tmp50 = tl.where(tmp10, tmp48, tmp49)
    tmp51 = tl.where(tmp10, tmp43, tmp50)
    tmp52 = tl.full(tmp51.shape, 0.0, tmp51.dtype)
    tmp53 = tl.where(tmp15, tmp51, tmp52)
    tmp54 = tmp10 & tmp11
    tmp55 = tmp14 & tmp54
    tmp56 = tmp10 & tmp55
    tmp57 = tmp19 & tmp56
    tmp58 = tl.load(in_ptr0 + (64 + x2), tmp57 & xmask, other=0.0)
    tmp59 = tl.load(in_ptr0 + (64 + x2), tmp56 & xmask, other=0.0)
    tmp60 = tl.where(tmp19, tmp58, tmp59)
    tmp61 = tl.full(tmp60.shape, 0.0, tmp60.dtype)
    tmp62 = tl.where(tmp56, tmp60, tmp61)
    tmp63 = tl.load(in_ptr0 + (64 + x2), tmp55 & xmask, other=0.0)
    tmp64 = tl.where(tmp10, tmp62, tmp63)
    tmp65 = tl.load(in_ptr1 + (76 + x0 + 4 * x1), tmp55 & xmask, other=0.0)
    tmp66 = tmp64 + tmp65
    tmp67 = tl.full(tmp66.shape, 0.0, tmp66.dtype)
    tmp68 = tl.where(tmp55, tmp66, tmp67)
    tmp69 = tmp10 & tmp54
    tmp70 = tmp19 & tmp69
    tmp71 = tl.load(in_ptr0 + (64 + x2), tmp70 & xmask, other=0.0)
    tmp72 = tl.load(in_ptr0 + (64 + x2), tmp69 & xmask, other=0.0)
    tmp73 = tl.where(tmp19, tmp71, tmp72)
    tmp74 = tl.full(tmp73.shape, 0.0, tmp73.dtype)
    tmp75 = tl.where(tmp69, tmp73, tmp74)
    tmp76 = tl.load(in_ptr0 + (64 + x2), tmp54 & xmask, other=0.0)
    tmp77 = tl.where(tmp10, tmp75, tmp76)
    tmp78 = tl.where(tmp14, tmp68, tmp77)
    tmp79 = tl.full(tmp78.shape, 0.0, tmp78.dtype)
    tmp80 = tl.where(tmp54, tmp78, tmp79)
    tmp81 = tmp19 & tmp54
    tmp82 = tl.load(in_ptr0 + (64 + x2), tmp81 & xmask, other=0.0)
    tmp83 = tl.where(tmp19, tmp82, tmp76)
    tmp84 = tl.full(tmp83.shape, 0.0, tmp83.dtype)
    tmp85 = tl.where(tmp54, tmp83, tmp84)
    tmp86 = tl.load(in_ptr0 + (64 + x2), tmp11 & xmask, other=0.0)
    tmp87 = tl.where(tmp10, tmp85, tmp86)
    tmp88 = tl.where(tmp10, tmp80, tmp87)
    tmp89 = tl.where(tmp14, tmp53, tmp88)
    tmp90 = tl.full(tmp89.shape, 0.0, tmp89.dtype)
    tmp91 = tl.where(tmp11, tmp89, tmp90)
    tmp92 = tl.load(in_ptr1 + (76 + x0 + 4 * x1), tmp15 & xmask, other=0.0)
    tmp93 = tmp50 + tmp92
    tmp94 = tl.full(tmp93.shape, 0.0, tmp93.dtype)
    tmp95 = tl.where(tmp15, tmp93, tmp94)
    tmp96 = tl.where(tmp14, tmp95, tmp87)
    tmp97 = tl.full(tmp96.shape, 0.0, tmp96.dtype)
    tmp98 = tl.where(tmp11, tmp96, tmp97)
    tmp99 = tmp19 & tmp11
    tmp100 = tl.load(in_ptr0 + (64 + x2), tmp99 & xmask, other=0.0)
    tmp101 = tl.where(tmp19, tmp100, tmp86)
    tmp102 = tl.full(tmp101.shape, 0.0, tmp101.dtype)
    tmp103 = tl.where(tmp11, tmp101, tmp102)
    tmp104 = tl.load(in_ptr0 + (64 + x2), tmp5 & xmask, other=0.0)
    tmp105 = tl.where(tmp10, tmp103, tmp104)
    tmp106 = tl.where(tmp10, tmp98, tmp105)
    tmp107 = tl.where(tmp10, tmp91, tmp106)
    tmp108 = tl.load(in_ptr1 + (88 + x0 + 4 * x1), tmp5 & xmask, other=0.0)
    tmp109 = tmp107 + tmp108
    tmp110 = tl.full(tmp109.shape, 0.0, tmp109.dtype)
    tmp111 = tl.where(tmp5, tmp109, tmp110)
    tmp112 = tmp14 & tmp10
    tmp113 = tmp10 & tmp112
    tmp114 = tmp14 & tmp113
    tmp115 = tmp10 & tmp114
    tmp116 = tmp19 & tmp115
    tmp117 = tl.load(in_ptr0 + (64 + x2), tmp116 & xmask, other=0.0)
    tmp118 = tl.load(in_ptr0 + (64 + x2), tmp115 & xmask, other=0.0)
    tmp119 = tl.where(tmp19, tmp117, tmp118)
    tmp120 = tl.full(tmp119.shape, 0.0, tmp119.dtype)
    tmp121 = tl.where(tmp115, tmp119, tmp120)
    tmp122 = tl.load(in_ptr0 + (64 + x2), tmp114 & xmask, other=0.0)
    tmp123 = tl.where(tmp10, tmp121, tmp122)
    tmp124 = tl.load(in_ptr1 + (76 + x0 + 4 * x1), tmp114 & xmask, other=0.0)
    tmp125 = tmp123 + tmp124
    tmp126 = tl.full(tmp125.shape, 0.0, tmp125.dtype)
    tmp127 = tl.where(tmp114, tmp125, tmp126)
    tmp128 = tmp10 & tmp113
    tmp129 = tmp19 & tmp128
    tmp130 = tl.load(in_ptr0 + (64 + x2), tmp129 & xmask, other=0.0)
    tmp131 = tl.load(in_ptr0 + (64 + x2), tmp128 & xmask, other=0.0)
    tmp132 = tl.where(tmp19, tmp130, tmp131)
    tmp133 = tl.full(tmp132.shape, 0.0, tmp132.dtype)
    tmp134 = tl.where(tmp128, tmp132, tmp133)
    tmp135 = tl.load(in_ptr0 + (64 + x2), tmp113 & xmask, other=0.0)
    tmp136 = tl.where(tmp10, tmp134, tmp135)
    tmp137 = tl.where(tmp14, tmp127, tmp136)
    tmp138 = tl.full(tmp137.shape, 0.0, tmp137.dtype)
    tmp139 = tl.where(tmp113, tmp137, tmp138)
    tmp140 = tmp19 & tmp113
    tmp141 = tl.load(in_ptr0 + (64 + x2), tmp140 & xmask, other=0.0)
    tmp142 = tl.where(tmp19, tmp141, tmp135)
    tmp143 = tl.full(tmp142.shape, 0.0, tmp142.dtype)
    tmp144 = tl.where(tmp113, tmp142, tmp143)
    tmp145 = tl.load(in_ptr0 + (64 + x2), tmp112 & xmask, other=0.0)
    tmp146 = tl.where(tmp10, tmp144, tmp145)
    tmp147 = tl.where(tmp10, tmp139, tmp146)
    tmp148 = tl.full(tmp147.shape, 0.0, tmp147.dtype)
    tmp149 = tl.where(tmp112, tmp147, tmp148)
    tmp150 = tmp10 & tmp10
    tmp151 = tmp14 & tmp150
    tmp152 = tmp10 & tmp151
    tmp153 = tmp19 & tmp152
    tmp154 = tl.load(in_ptr0 + (64 + x2), tmp153 & xmask, other=0.0)
    tmp155 = tl.load(in_ptr0 + (64 + x2), tmp152 & xmask, other=0.0)
    tmp156 = tl.where(tmp19, tmp154, tmp155)
    tmp157 = tl.full(tmp156.shape, 0.0, tmp156.dtype)
    tmp158 = tl.where(tmp152, tmp156, tmp157)
    tmp159 = tl.load(in_ptr0 + (64 + x2), tmp151 & xmask, other=0.0)
    tmp160 = tl.where(tmp10, tmp158, tmp159)
    tmp161 = tl.load(in_ptr1 + (76 + x0 + 4 * x1), tmp151 & xmask, other=0.0)
    tmp162 = tmp160 + tmp161
    tmp163 = tl.full(tmp162.shape, 0.0, tmp162.dtype)
    tmp164 = tl.where(tmp151, tmp162, tmp163)
    tmp165 = tmp10 & tmp150
    tmp166 = tmp19 & tmp165
    tmp167 = tl.load(in_ptr0 + (64 + x2), tmp166 & xmask, other=0.0)
    tmp168 = tl.load(in_ptr0 + (64 + x2), tmp165 & xmask, other=0.0)
    tmp169 = tl.where(tmp19, tmp167, tmp168)
    tmp170 = tl.full(tmp169.shape, 0.0, tmp169.dtype)
    tmp171 = tl.where(tmp165, tmp169, tmp170)
    tmp172 = tl.load(in_ptr0 + (64 + x2), tmp150 & xmask, other=0.0)
    tmp173 = tl.where(tmp10, tmp171, tmp172)
    tmp174 = tl.where(tmp14, tmp164, tmp173)
    tmp175 = tl.full(tmp174.shape, 0.0, tmp174.dtype)
    tmp176 = tl.where(tmp150, tmp174, tmp175)
    tmp177 = tmp19 & tmp150
    tmp178 = tl.load(in_ptr0 + (64 + x2), tmp177 & xmask, other=0.0)
    tmp179 = tl.where(tmp19, tmp178, tmp172)
    tmp180 = tl.full(tmp179.shape, 0.0, tmp179.dtype)
    tmp181 = tl.where(tmp150, tmp179, tmp180)
    tmp182 = tl.load(in_ptr0 + (64 + x2), tmp10 & xmask, other=0.0)
    tmp183 = tl.where(tmp10, tmp181, tmp182)
    tmp184 = tl.where(tmp10, tmp176, tmp183)
    tmp185 = tl.where(tmp14, tmp149, tmp184)
    tmp186 = tl.full(tmp185.shape, 0.0, tmp185.dtype)
    tmp187 = tl.where(tmp10, tmp185, tmp186)
    tmp188 = tl.load(in_ptr1 + (76 + x0 + 4 * x1), tmp112 & xmask, other=0.0)
    tmp189 = tmp146 + tmp188
    tmp190 = tl.full(tmp189.shape, 0.0, tmp189.dtype)
    tmp191 = tl.where(tmp112, tmp189, tmp190)
    tmp192 = tl.where(tmp14, tmp191, tmp183)
    tmp193 = tl.full(tmp192.shape, 0.0, tmp192.dtype)
    tmp194 = tl.where(tmp10, tmp192, tmp193)
    tmp195 = tmp19 & tmp10
    tmp196 = tl.load(in_ptr0 + (64 + x2), tmp195 & xmask, other=0.0)
    tmp197 = tl.where(tmp19, tmp196, tmp182)
    tmp198 = tl.full(tmp197.shape, 0.0, tmp197.dtype)
    tmp199 = tl.where(tmp10, tmp197, tmp198)
    tmp201 = tl.where(tmp10, tmp199, tmp200)
    tmp202 = tl.where(tmp10, tmp194, tmp201)
    tmp203 = tl.where(tmp10, tmp187, tmp202)
    tmp204 = tl.where(tmp5, tmp111, tmp203)
    tmp205 = tl.where(tmp10, tmp204, tmp107)
    tmp206 = tl.full(tmp205.shape, 0.0, tmp205.dtype)
    tmp207 = tl.where(tmp5, tmp205, tmp206)
    tmp208 = tl.where(tmp10, tmp204, tmp203)
    tmp209 = tl.where(tmp5, tmp207, tmp208)
    tl.store(out_ptr0 + x2, tmp204, xmask)
    tl.store(out_ptr1 + x2, tmp209, xmask)


@triton.jit
def triton_poi_fused_add_4(in_out_ptr0, in_ptr0, in_ptr1, in_ptr2, xnumel,
    XBLOCK: tl.constexpr):
    xnumel = 256
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x1 = xindex // 16
    x2 = xindex
    x0 = xindex % 16
    tmp101 = tl.load(in_out_ptr0 + x2, xmask)
    tmp0 = x1
    tmp1 = tl.full([1], 4, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.full([1], 8, tl.int64)
    tmp4 = tmp0 < tmp3
    tmp5 = tmp2 & tmp4
    tmp6 = tl.load(in_ptr0 + (-64 + x2), tmp5 & xmask, other=0.0)
    tmp7 = tl.load(in_ptr1 + (-64 + x2), tmp5 & xmask, other=0.0)
    tmp8 = x0
    tmp9 = tmp8 >= tmp1
    tmp10 = tmp8 < tmp3
    tmp11 = tmp9 & tmp10
    tmp12 = tmp11 & tmp5
    tmp13 = tmp5 & tmp12
    tmp14 = tmp11 & tmp13
    tmp15 = tmp5 & tmp14
    tmp16 = tmp8 < tmp1
    tmp17 = tmp16 & tmp15
    tmp18 = tl.load(in_out_ptr0 + x2, tmp17 & xmask, other=0.0)
    tmp19 = tl.load(in_out_ptr0 + x2, tmp15 & xmask, other=0.0)
    tmp20 = tl.where(tmp16, tmp18, tmp19)
    tmp21 = tl.full(tmp20.shape, 0.0, tmp20.dtype)
    tmp22 = tl.where(tmp15, tmp20, tmp21)
    tmp23 = tl.load(in_out_ptr0 + x2, tmp14 & xmask, other=0.0)
    tmp24 = tl.where(tmp5, tmp22, tmp23)
    tmp25 = tl.load(in_ptr2 + (60 + x0 + 4 * x1), tmp14 & xmask, other=0.0)
    tmp26 = tmp24 + tmp25
    tmp27 = tl.full(tmp26.shape, 0.0, tmp26.dtype)
    tmp28 = tl.where(tmp14, tmp26, tmp27)
    tmp29 = tmp5 & tmp13
    tmp30 = tmp16 & tmp29
    tmp31 = tl.load(in_out_ptr0 + x2, tmp30 & xmask, other=0.0)
    tmp32 = tl.load(in_out_ptr0 + x2, tmp29 & xmask, other=0.0)
    tmp33 = tl.where(tmp16, tmp31, tmp32)
    tmp34 = tl.full(tmp33.shape, 0.0, tmp33.dtype)
    tmp35 = tl.where(tmp29, tmp33, tmp34)
    tmp36 = tl.load(in_out_ptr0 + x2, tmp13 & xmask, other=0.0)
    tmp37 = tl.where(tmp5, tmp35, tmp36)
    tmp38 = tl.where(tmp11, tmp28, tmp37)
    tmp39 = tl.full(tmp38.shape, 0.0, tmp38.dtype)
    tmp40 = tl.where(tmp13, tmp38, tmp39)
    tmp41 = tmp16 & tmp13
    tmp42 = tl.load(in_out_ptr0 + x2, tmp41 & xmask, other=0.0)
    tmp43 = tl.where(tmp16, tmp42, tmp36)
    tmp44 = tl.full(tmp43.shape, 0.0, tmp43.dtype)
    tmp45 = tl.where(tmp13, tmp43, tmp44)
    tmp46 = tl.load(in_out_ptr0 + x2, tmp12 & xmask, other=0.0)
    tmp47 = tl.where(tmp5, tmp45, tmp46)
    tmp48 = tl.where(tmp5, tmp40, tmp47)
    tmp49 = tl.full(tmp48.shape, 0.0, tmp48.dtype)
    tmp50 = tl.where(tmp12, tmp48, tmp49)
    tmp51 = tmp5 & tmp5
    tmp52 = tmp11 & tmp51
    tmp53 = tmp5 & tmp52
    tmp54 = tmp16 & tmp53
    tmp55 = tl.load(in_out_ptr0 + x2, tmp54 & xmask, other=0.0)
    tmp56 = tl.load(in_out_ptr0 + x2, tmp53 & xmask, other=0.0)
    tmp57 = tl.where(tmp16, tmp55, tmp56)
    tmp58 = tl.full(tmp57.shape, 0.0, tmp57.dtype)
    tmp59 = tl.where(tmp53, tmp57, tmp58)
    tmp60 = tl.load(in_out_ptr0 + x2, tmp52 & xmask, other=0.0)
    tmp61 = tl.where(tmp5, tmp59, tmp60)
    tmp62 = tl.load(in_ptr2 + (60 + x0 + 4 * x1), tmp52 & xmask, other=0.0)
    tmp63 = tmp61 + tmp62
    tmp64 = tl.full(tmp63.shape, 0.0, tmp63.dtype)
    tmp65 = tl.where(tmp52, tmp63, tmp64)
    tmp66 = tmp5 & tmp51
    tmp67 = tmp16 & tmp66
    tmp68 = tl.load(in_out_ptr0 + x2, tmp67 & xmask, other=0.0)
    tmp69 = tl.load(in_out_ptr0 + x2, tmp66 & xmask, other=0.0)
    tmp70 = tl.where(tmp16, tmp68, tmp69)
    tmp71 = tl.full(tmp70.shape, 0.0, tmp70.dtype)
    tmp72 = tl.where(tmp66, tmp70, tmp71)
    tmp73 = tl.load(in_out_ptr0 + x2, tmp51 & xmask, other=0.0)
    tmp74 = tl.where(tmp5, tmp72, tmp73)
    tmp75 = tl.where(tmp11, tmp65, tmp74)
    tmp76 = tl.full(tmp75.shape, 0.0, tmp75.dtype)
    tmp77 = tl.where(tmp51, tmp75, tmp76)
    tmp78 = tmp16 & tmp51
    tmp79 = tl.load(in_out_ptr0 + x2, tmp78 & xmask, other=0.0)
    tmp80 = tl.where(tmp16, tmp79, tmp73)
    tmp81 = tl.full(tmp80.shape, 0.0, tmp80.dtype)
    tmp82 = tl.where(tmp51, tmp80, tmp81)
    tmp83 = tl.load(in_out_ptr0 + x2, tmp5 & xmask, other=0.0)
    tmp84 = tl.where(tmp5, tmp82, tmp83)
    tmp85 = tl.where(tmp5, tmp77, tmp84)
    tmp86 = tl.where(tmp11, tmp50, tmp85)
    tmp87 = tl.full(tmp86.shape, 0.0, tmp86.dtype)
    tmp88 = tl.where(tmp5, tmp86, tmp87)
    tmp89 = tl.load(in_ptr2 + (60 + x0 + 4 * x1), tmp12 & xmask, other=0.0)
    tmp90 = tmp47 + tmp89
    tmp91 = tl.full(tmp90.shape, 0.0, tmp90.dtype)
    tmp92 = tl.where(tmp12, tmp90, tmp91)
    tmp93 = tl.where(tmp11, tmp92, tmp84)
    tmp94 = tl.full(tmp93.shape, 0.0, tmp93.dtype)
    tmp95 = tl.where(tmp5, tmp93, tmp94)
    tmp96 = tmp16 & tmp5
    tmp97 = tl.load(in_out_ptr0 + x2, tmp96 & xmask, other=0.0)
    tmp98 = tl.where(tmp16, tmp97, tmp83)
    tmp99 = tl.full(tmp98.shape, 0.0, tmp98.dtype)
    tmp100 = tl.where(tmp5, tmp98, tmp99)
    tmp102 = tl.where(tmp5, tmp100, tmp101)
    tmp103 = tl.where(tmp5, tmp95, tmp102)
    tmp104 = tl.where(tmp5, tmp88, tmp103)
    tmp105 = tl.where(tmp5, tmp7, tmp104)
    tmp106 = tl.where(tmp5, tmp6, tmp105)
    tl.store(in_out_ptr0 + x2, tmp106, xmask)


@triton.jit
def triton_poi_fused_5(in_ptr0, in_ptr1, out_ptr0, xnumel, XBLOCK: tl.constexpr
    ):
    xnumel = 64
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x0 = xindex % 16
    x1 = xindex // 16
    x2 = xindex
    tmp287 = tl.load(in_ptr0 + (128 + x2), xmask)
    tmp0 = x0
    tmp1 = tl.full([1], 4, tl.int64)
    tmp2 = tmp0 < tmp1
    tmp3 = 8 + x1
    tmp4 = tl.full([1], 8, tl.int64)
    tmp5 = tmp3 >= tmp4
    tmp6 = tl.full([1], 12, tl.int64)
    tmp7 = tmp3 < tmp6
    tmp8 = tmp5 & tmp7
    tmp9 = tmp8 & tmp2
    tmp10 = tmp2 & tmp9
    tmp11 = tmp3 >= tmp1
    tmp12 = tmp3 < tmp4
    tmp13 = tmp11 & tmp12
    tmp14 = tmp13 & tmp10
    tmp15 = tmp0 >= tmp6
    tmp16 = tmp15 & tmp14
    tmp17 = tmp13 & tmp16
    tmp18 = tmp15 & tmp17
    tmp19 = tl.load(in_ptr0 + (128 + x2), tmp18 & xmask, other=0.0)
    tmp20 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp18 & xmask, other=0.0)
    tmp21 = tmp19 + tmp20
    tmp22 = tl.full(tmp21.shape, 0.0, tmp21.dtype)
    tmp23 = tl.where(tmp18, tmp21, tmp22)
    tmp24 = tl.load(in_ptr0 + (128 + x2), tmp17 & xmask, other=0.0)
    tmp25 = tl.where(tmp15, tmp23, tmp24)
    tmp26 = tl.full(tmp25.shape, 0.0, tmp25.dtype)
    tmp27 = tl.where(tmp17, tmp25, tmp26)
    tmp28 = tl.load(in_ptr0 + (128 + x2), tmp16 & xmask, other=0.0)
    tmp29 = tl.where(tmp13, tmp27, tmp28)
    tmp30 = tl.full(tmp29.shape, 0.0, tmp29.dtype)
    tmp31 = tl.where(tmp16, tmp29, tmp30)
    tmp32 = tmp13 & tmp14
    tmp33 = tmp15 & tmp32
    tmp34 = tl.load(in_ptr0 + (128 + x2), tmp33 & xmask, other=0.0)
    tmp35 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp33 & xmask, other=0.0)
    tmp36 = tmp34 + tmp35
    tmp37 = tl.full(tmp36.shape, 0.0, tmp36.dtype)
    tmp38 = tl.where(tmp33, tmp36, tmp37)
    tmp39 = tl.load(in_ptr0 + (128 + x2), tmp32 & xmask, other=0.0)
    tmp40 = tl.where(tmp15, tmp38, tmp39)
    tmp41 = tl.full(tmp40.shape, 0.0, tmp40.dtype)
    tmp42 = tl.where(tmp32, tmp40, tmp41)
    tmp43 = tl.load(in_ptr0 + (128 + x2), tmp14 & xmask, other=0.0)
    tmp44 = tl.where(tmp13, tmp42, tmp43)
    tmp45 = tl.where(tmp15, tmp31, tmp44)
    tmp46 = tl.full(tmp45.shape, 0.0, tmp45.dtype)
    tmp47 = tl.where(tmp14, tmp45, tmp46)
    tmp48 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp16 & xmask, other=0.0)
    tmp49 = tmp28 + tmp48
    tmp50 = tl.full(tmp49.shape, 0.0, tmp49.dtype)
    tmp51 = tl.where(tmp16, tmp49, tmp50)
    tmp52 = tl.where(tmp15, tmp51, tmp43)
    tmp53 = tl.full(tmp52.shape, 0.0, tmp52.dtype)
    tmp54 = tl.where(tmp14, tmp52, tmp53)
    tmp55 = tl.load(in_ptr0 + (128 + x2), tmp10 & xmask, other=0.0)
    tmp56 = tl.where(tmp13, tmp54, tmp55)
    tmp57 = tl.where(tmp13, tmp47, tmp56)
    tmp58 = tl.load(in_ptr1 + (128 + x0 + 4 * x1), tmp10 & xmask, other=0.0)
    tmp59 = tmp57 + tmp58
    tmp60 = tl.full(tmp59.shape, 0.0, tmp59.dtype)
    tmp61 = tl.where(tmp10, tmp59, tmp60)
    tmp62 = tmp13 & tmp9
    tmp63 = tmp15 & tmp62
    tmp64 = tmp13 & tmp63
    tmp65 = tmp15 & tmp64
    tmp66 = tl.load(in_ptr0 + (128 + x2), tmp65 & xmask, other=0.0)
    tmp67 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp65 & xmask, other=0.0)
    tmp68 = tmp66 + tmp67
    tmp69 = tl.full(tmp68.shape, 0.0, tmp68.dtype)
    tmp70 = tl.where(tmp65, tmp68, tmp69)
    tmp71 = tl.load(in_ptr0 + (128 + x2), tmp64 & xmask, other=0.0)
    tmp72 = tl.where(tmp15, tmp70, tmp71)
    tmp73 = tl.full(tmp72.shape, 0.0, tmp72.dtype)
    tmp74 = tl.where(tmp64, tmp72, tmp73)
    tmp75 = tl.load(in_ptr0 + (128 + x2), tmp63 & xmask, other=0.0)
    tmp76 = tl.where(tmp13, tmp74, tmp75)
    tmp77 = tl.full(tmp76.shape, 0.0, tmp76.dtype)
    tmp78 = tl.where(tmp63, tmp76, tmp77)
    tmp79 = tmp13 & tmp62
    tmp80 = tmp15 & tmp79
    tmp81 = tl.load(in_ptr0 + (128 + x2), tmp80 & xmask, other=0.0)
    tmp82 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp80 & xmask, other=0.0)
    tmp83 = tmp81 + tmp82
    tmp84 = tl.full(tmp83.shape, 0.0, tmp83.dtype)
    tmp85 = tl.where(tmp80, tmp83, tmp84)
    tmp86 = tl.load(in_ptr0 + (128 + x2), tmp79 & xmask, other=0.0)
    tmp87 = tl.where(tmp15, tmp85, tmp86)
    tmp88 = tl.full(tmp87.shape, 0.0, tmp87.dtype)
    tmp89 = tl.where(tmp79, tmp87, tmp88)
    tmp90 = tl.load(in_ptr0 + (128 + x2), tmp62 & xmask, other=0.0)
    tmp91 = tl.where(tmp13, tmp89, tmp90)
    tmp92 = tl.where(tmp15, tmp78, tmp91)
    tmp93 = tl.full(tmp92.shape, 0.0, tmp92.dtype)
    tmp94 = tl.where(tmp62, tmp92, tmp93)
    tmp95 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp63 & xmask, other=0.0)
    tmp96 = tmp75 + tmp95
    tmp97 = tl.full(tmp96.shape, 0.0, tmp96.dtype)
    tmp98 = tl.where(tmp63, tmp96, tmp97)
    tmp99 = tl.where(tmp15, tmp98, tmp90)
    tmp100 = tl.full(tmp99.shape, 0.0, tmp99.dtype)
    tmp101 = tl.where(tmp62, tmp99, tmp100)
    tmp102 = tl.load(in_ptr0 + (128 + x2), tmp9 & xmask, other=0.0)
    tmp103 = tl.where(tmp13, tmp101, tmp102)
    tmp104 = tl.where(tmp13, tmp94, tmp103)
    tmp105 = tl.where(tmp2, tmp61, tmp104)
    tmp106 = tl.full(tmp105.shape, 0.0, tmp105.dtype)
    tmp107 = tl.where(tmp9, tmp105, tmp106)
    tmp108 = tmp13 & tmp2
    tmp109 = tmp15 & tmp108
    tmp110 = tmp13 & tmp109
    tmp111 = tmp15 & tmp110
    tmp112 = tl.load(in_ptr0 + (128 + x2), tmp111 & xmask, other=0.0)
    tmp113 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp111 & xmask, other=0.0)
    tmp114 = tmp112 + tmp113
    tmp115 = tl.full(tmp114.shape, 0.0, tmp114.dtype)
    tmp116 = tl.where(tmp111, tmp114, tmp115)
    tmp117 = tl.load(in_ptr0 + (128 + x2), tmp110 & xmask, other=0.0)
    tmp118 = tl.where(tmp15, tmp116, tmp117)
    tmp119 = tl.full(tmp118.shape, 0.0, tmp118.dtype)
    tmp120 = tl.where(tmp110, tmp118, tmp119)
    tmp121 = tl.load(in_ptr0 + (128 + x2), tmp109 & xmask, other=0.0)
    tmp122 = tl.where(tmp13, tmp120, tmp121)
    tmp123 = tl.full(tmp122.shape, 0.0, tmp122.dtype)
    tmp124 = tl.where(tmp109, tmp122, tmp123)
    tmp125 = tmp13 & tmp108
    tmp126 = tmp15 & tmp125
    tmp127 = tl.load(in_ptr0 + (128 + x2), tmp126 & xmask, other=0.0)
    tmp128 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp126 & xmask, other=0.0)
    tmp129 = tmp127 + tmp128
    tmp130 = tl.full(tmp129.shape, 0.0, tmp129.dtype)
    tmp131 = tl.where(tmp126, tmp129, tmp130)
    tmp132 = tl.load(in_ptr0 + (128 + x2), tmp125 & xmask, other=0.0)
    tmp133 = tl.where(tmp15, tmp131, tmp132)
    tmp134 = tl.full(tmp133.shape, 0.0, tmp133.dtype)
    tmp135 = tl.where(tmp125, tmp133, tmp134)
    tmp136 = tl.load(in_ptr0 + (128 + x2), tmp108 & xmask, other=0.0)
    tmp137 = tl.where(tmp13, tmp135, tmp136)
    tmp138 = tl.where(tmp15, tmp124, tmp137)
    tmp139 = tl.full(tmp138.shape, 0.0, tmp138.dtype)
    tmp140 = tl.where(tmp108, tmp138, tmp139)
    tmp141 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp109 & xmask, other=0.0)
    tmp142 = tmp121 + tmp141
    tmp143 = tl.full(tmp142.shape, 0.0, tmp142.dtype)
    tmp144 = tl.where(tmp109, tmp142, tmp143)
    tmp145 = tl.where(tmp15, tmp144, tmp136)
    tmp146 = tl.full(tmp145.shape, 0.0, tmp145.dtype)
    tmp147 = tl.where(tmp108, tmp145, tmp146)
    tmp148 = tl.load(in_ptr0 + (128 + x2), tmp2 & xmask, other=0.0)
    tmp149 = tl.where(tmp13, tmp147, tmp148)
    tmp150 = tl.where(tmp13, tmp140, tmp149)
    tmp151 = tl.where(tmp8, tmp107, tmp150)
    tmp152 = tl.full(tmp151.shape, 0.0, tmp151.dtype)
    tmp153 = tl.where(tmp2, tmp151, tmp152)
    tmp154 = tmp2 & tmp8
    tmp155 = tmp13 & tmp154
    tmp156 = tmp15 & tmp155
    tmp157 = tmp13 & tmp156
    tmp158 = tmp15 & tmp157
    tmp159 = tl.load(in_ptr0 + (128 + x2), tmp158 & xmask, other=0.0)
    tmp160 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp158 & xmask, other=0.0)
    tmp161 = tmp159 + tmp160
    tmp162 = tl.full(tmp161.shape, 0.0, tmp161.dtype)
    tmp163 = tl.where(tmp158, tmp161, tmp162)
    tmp164 = tl.load(in_ptr0 + (128 + x2), tmp157 & xmask, other=0.0)
    tmp165 = tl.where(tmp15, tmp163, tmp164)
    tmp166 = tl.full(tmp165.shape, 0.0, tmp165.dtype)
    tmp167 = tl.where(tmp157, tmp165, tmp166)
    tmp168 = tl.load(in_ptr0 + (128 + x2), tmp156 & xmask, other=0.0)
    tmp169 = tl.where(tmp13, tmp167, tmp168)
    tmp170 = tl.full(tmp169.shape, 0.0, tmp169.dtype)
    tmp171 = tl.where(tmp156, tmp169, tmp170)
    tmp172 = tmp13 & tmp155
    tmp173 = tmp15 & tmp172
    tmp174 = tl.load(in_ptr0 + (128 + x2), tmp173 & xmask, other=0.0)
    tmp175 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp173 & xmask, other=0.0)
    tmp176 = tmp174 + tmp175
    tmp177 = tl.full(tmp176.shape, 0.0, tmp176.dtype)
    tmp178 = tl.where(tmp173, tmp176, tmp177)
    tmp179 = tl.load(in_ptr0 + (128 + x2), tmp172 & xmask, other=0.0)
    tmp180 = tl.where(tmp15, tmp178, tmp179)
    tmp181 = tl.full(tmp180.shape, 0.0, tmp180.dtype)
    tmp182 = tl.where(tmp172, tmp180, tmp181)
    tmp183 = tl.load(in_ptr0 + (128 + x2), tmp155 & xmask, other=0.0)
    tmp184 = tl.where(tmp13, tmp182, tmp183)
    tmp185 = tl.where(tmp15, tmp171, tmp184)
    tmp186 = tl.full(tmp185.shape, 0.0, tmp185.dtype)
    tmp187 = tl.where(tmp155, tmp185, tmp186)
    tmp188 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp156 & xmask, other=0.0)
    tmp189 = tmp168 + tmp188
    tmp190 = tl.full(tmp189.shape, 0.0, tmp189.dtype)
    tmp191 = tl.where(tmp156, tmp189, tmp190)
    tmp192 = tl.where(tmp15, tmp191, tmp183)
    tmp193 = tl.full(tmp192.shape, 0.0, tmp192.dtype)
    tmp194 = tl.where(tmp155, tmp192, tmp193)
    tmp195 = tl.load(in_ptr0 + (128 + x2), tmp154 & xmask, other=0.0)
    tmp196 = tl.where(tmp13, tmp194, tmp195)
    tmp197 = tl.where(tmp13, tmp187, tmp196)
    tmp198 = tl.load(in_ptr1 + (128 + x0 + 4 * x1), tmp154 & xmask, other=0.0)
    tmp199 = tmp197 + tmp198
    tmp200 = tl.full(tmp199.shape, 0.0, tmp199.dtype)
    tmp201 = tl.where(tmp154, tmp199, tmp200)
    tmp202 = tmp13 & tmp8
    tmp203 = tmp15 & tmp202
    tmp204 = tmp13 & tmp203
    tmp205 = tmp15 & tmp204
    tmp206 = tl.load(in_ptr0 + (128 + x2), tmp205 & xmask, other=0.0)
    tmp207 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp205 & xmask, other=0.0)
    tmp208 = tmp206 + tmp207
    tmp209 = tl.full(tmp208.shape, 0.0, tmp208.dtype)
    tmp210 = tl.where(tmp205, tmp208, tmp209)
    tmp211 = tl.load(in_ptr0 + (128 + x2), tmp204 & xmask, other=0.0)
    tmp212 = tl.where(tmp15, tmp210, tmp211)
    tmp213 = tl.full(tmp212.shape, 0.0, tmp212.dtype)
    tmp214 = tl.where(tmp204, tmp212, tmp213)
    tmp215 = tl.load(in_ptr0 + (128 + x2), tmp203 & xmask, other=0.0)
    tmp216 = tl.where(tmp13, tmp214, tmp215)
    tmp217 = tl.full(tmp216.shape, 0.0, tmp216.dtype)
    tmp218 = tl.where(tmp203, tmp216, tmp217)
    tmp219 = tmp13 & tmp202
    tmp220 = tmp15 & tmp219
    tmp221 = tl.load(in_ptr0 + (128 + x2), tmp220 & xmask, other=0.0)
    tmp222 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp220 & xmask, other=0.0)
    tmp223 = tmp221 + tmp222
    tmp224 = tl.full(tmp223.shape, 0.0, tmp223.dtype)
    tmp225 = tl.where(tmp220, tmp223, tmp224)
    tmp226 = tl.load(in_ptr0 + (128 + x2), tmp219 & xmask, other=0.0)
    tmp227 = tl.where(tmp15, tmp225, tmp226)
    tmp228 = tl.full(tmp227.shape, 0.0, tmp227.dtype)
    tmp229 = tl.where(tmp219, tmp227, tmp228)
    tmp230 = tl.load(in_ptr0 + (128 + x2), tmp202 & xmask, other=0.0)
    tmp231 = tl.where(tmp13, tmp229, tmp230)
    tmp232 = tl.where(tmp15, tmp218, tmp231)
    tmp233 = tl.full(tmp232.shape, 0.0, tmp232.dtype)
    tmp234 = tl.where(tmp202, tmp232, tmp233)
    tmp235 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp203 & xmask, other=0.0)
    tmp236 = tmp215 + tmp235
    tmp237 = tl.full(tmp236.shape, 0.0, tmp236.dtype)
    tmp238 = tl.where(tmp203, tmp236, tmp237)
    tmp239 = tl.where(tmp15, tmp238, tmp230)
    tmp240 = tl.full(tmp239.shape, 0.0, tmp239.dtype)
    tmp241 = tl.where(tmp202, tmp239, tmp240)
    tmp242 = tl.load(in_ptr0 + (128 + x2), tmp8 & xmask, other=0.0)
    tmp243 = tl.where(tmp13, tmp241, tmp242)
    tmp244 = tl.where(tmp13, tmp234, tmp243)
    tmp245 = tl.where(tmp2, tmp201, tmp244)
    tmp246 = tl.full(tmp245.shape, 0.0, tmp245.dtype)
    tmp247 = tl.where(tmp8, tmp245, tmp246)
    tmp248 = tmp15 & tmp13
    tmp249 = tmp13 & tmp248
    tmp250 = tmp15 & tmp249
    tmp251 = tl.load(in_ptr0 + (128 + x2), tmp250 & xmask, other=0.0)
    tmp252 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp250 & xmask, other=0.0)
    tmp253 = tmp251 + tmp252
    tmp254 = tl.full(tmp253.shape, 0.0, tmp253.dtype)
    tmp255 = tl.where(tmp250, tmp253, tmp254)
    tmp256 = tl.load(in_ptr0 + (128 + x2), tmp249 & xmask, other=0.0)
    tmp257 = tl.where(tmp15, tmp255, tmp256)
    tmp258 = tl.full(tmp257.shape, 0.0, tmp257.dtype)
    tmp259 = tl.where(tmp249, tmp257, tmp258)
    tmp260 = tl.load(in_ptr0 + (128 + x2), tmp248 & xmask, other=0.0)
    tmp261 = tl.where(tmp13, tmp259, tmp260)
    tmp262 = tl.full(tmp261.shape, 0.0, tmp261.dtype)
    tmp263 = tl.where(tmp248, tmp261, tmp262)
    tmp264 = tmp13 & tmp13
    tmp265 = tmp15 & tmp264
    tmp266 = tl.load(in_ptr0 + (128 + x2), tmp265 & xmask, other=0.0)
    tmp267 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp265 & xmask, other=0.0)
    tmp268 = tmp266 + tmp267
    tmp269 = tl.full(tmp268.shape, 0.0, tmp268.dtype)
    tmp270 = tl.where(tmp265, tmp268, tmp269)
    tmp271 = tl.load(in_ptr0 + (128 + x2), tmp264 & xmask, other=0.0)
    tmp272 = tl.where(tmp15, tmp270, tmp271)
    tmp273 = tl.full(tmp272.shape, 0.0, tmp272.dtype)
    tmp274 = tl.where(tmp264, tmp272, tmp273)
    tmp275 = tl.load(in_ptr0 + (128 + x2), tmp13 & xmask, other=0.0)
    tmp276 = tl.where(tmp13, tmp274, tmp275)
    tmp277 = tl.where(tmp15, tmp263, tmp276)
    tmp278 = tl.full(tmp277.shape, 0.0, tmp277.dtype)
    tmp279 = tl.where(tmp13, tmp277, tmp278)
    tmp280 = tl.load(in_ptr1 + (116 + x0 + 4 * x1), tmp248 & xmask, other=0.0)
    tmp281 = tmp260 + tmp280
    tmp282 = tl.full(tmp281.shape, 0.0, tmp281.dtype)
    tmp283 = tl.where(tmp248, tmp281, tmp282)
    tmp284 = tl.where(tmp15, tmp283, tmp275)
    tmp285 = tl.full(tmp284.shape, 0.0, tmp284.dtype)
    tmp286 = tl.where(tmp13, tmp284, tmp285)
    tmp288 = tl.where(tmp13, tmp286, tmp287)
    tmp289 = tl.where(tmp13, tmp279, tmp288)
    tmp290 = tl.where(tmp8, tmp247, tmp289)
    tmp291 = tl.where(tmp2, tmp153, tmp290)
    tl.store(out_ptr0 + x2, tmp291, xmask)


@triton.jit
def triton_poi_fused_add_6(in_out_ptr0, in_ptr0, in_ptr1, xnumel, XBLOCK:
    tl.constexpr):
    xnumel = 256
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x1 = xindex // 16
    x2 = xindex
    x0 = xindex % 16
    tmp147 = tl.load(in_out_ptr0 + x2, xmask)
    tmp0 = x1
    tmp1 = tl.full([1], 8, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.full([1], 12, tl.int64)
    tmp4 = tmp0 < tmp3
    tmp5 = tmp2 & tmp4
    tmp6 = tl.load(in_ptr0 + (-128 + x2), tmp5 & xmask, other=0.0)
    tmp7 = x0
    tmp8 = tl.full([1], 4, tl.int64)
    tmp9 = tmp7 < tmp8
    tmp10 = tmp9 & tmp5
    tmp11 = tmp0 >= tmp8
    tmp12 = tmp0 < tmp1
    tmp13 = tmp11 & tmp12
    tmp14 = tmp13 & tmp10
    tmp15 = tmp7 >= tmp3
    tmp16 = tmp15 & tmp14
    tmp17 = tmp13 & tmp16
    tmp18 = tmp15 & tmp17
    tmp19 = tl.load(in_out_ptr0 + x2, tmp18 & xmask, other=0.0)
    tmp20 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp18 & xmask, other=0.0)
    tmp21 = tmp19 + tmp20
    tmp22 = tl.full(tmp21.shape, 0.0, tmp21.dtype)
    tmp23 = tl.where(tmp18, tmp21, tmp22)
    tmp24 = tl.load(in_out_ptr0 + x2, tmp17 & xmask, other=0.0)
    tmp25 = tl.where(tmp15, tmp23, tmp24)
    tmp26 = tl.full(tmp25.shape, 0.0, tmp25.dtype)
    tmp27 = tl.where(tmp17, tmp25, tmp26)
    tmp28 = tl.load(in_out_ptr0 + x2, tmp16 & xmask, other=0.0)
    tmp29 = tl.where(tmp13, tmp27, tmp28)
    tmp30 = tl.full(tmp29.shape, 0.0, tmp29.dtype)
    tmp31 = tl.where(tmp16, tmp29, tmp30)
    tmp32 = tmp13 & tmp14
    tmp33 = tmp15 & tmp32
    tmp34 = tl.load(in_out_ptr0 + x2, tmp33 & xmask, other=0.0)
    tmp35 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp33 & xmask, other=0.0)
    tmp36 = tmp34 + tmp35
    tmp37 = tl.full(tmp36.shape, 0.0, tmp36.dtype)
    tmp38 = tl.where(tmp33, tmp36, tmp37)
    tmp39 = tl.load(in_out_ptr0 + x2, tmp32 & xmask, other=0.0)
    tmp40 = tl.where(tmp15, tmp38, tmp39)
    tmp41 = tl.full(tmp40.shape, 0.0, tmp40.dtype)
    tmp42 = tl.where(tmp32, tmp40, tmp41)
    tmp43 = tl.load(in_out_ptr0 + x2, tmp14 & xmask, other=0.0)
    tmp44 = tl.where(tmp13, tmp42, tmp43)
    tmp45 = tl.where(tmp15, tmp31, tmp44)
    tmp46 = tl.full(tmp45.shape, 0.0, tmp45.dtype)
    tmp47 = tl.where(tmp14, tmp45, tmp46)
    tmp48 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp16 & xmask, other=0.0)
    tmp49 = tmp28 + tmp48
    tmp50 = tl.full(tmp49.shape, 0.0, tmp49.dtype)
    tmp51 = tl.where(tmp16, tmp49, tmp50)
    tmp52 = tl.where(tmp15, tmp51, tmp43)
    tmp53 = tl.full(tmp52.shape, 0.0, tmp52.dtype)
    tmp54 = tl.where(tmp14, tmp52, tmp53)
    tmp55 = tl.load(in_out_ptr0 + x2, tmp10 & xmask, other=0.0)
    tmp56 = tl.where(tmp13, tmp54, tmp55)
    tmp57 = tl.where(tmp13, tmp47, tmp56)
    tmp58 = tl.load(in_ptr1 + (96 + x0 + 4 * x1), tmp10 & xmask, other=0.0)
    tmp59 = tmp57 + tmp58
    tmp60 = tl.full(tmp59.shape, 0.0, tmp59.dtype)
    tmp61 = tl.where(tmp10, tmp59, tmp60)
    tmp62 = tmp13 & tmp5
    tmp63 = tmp15 & tmp62
    tmp64 = tmp13 & tmp63
    tmp65 = tmp15 & tmp64
    tmp66 = tl.load(in_out_ptr0 + x2, tmp65 & xmask, other=0.0)
    tmp67 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp65 & xmask, other=0.0)
    tmp68 = tmp66 + tmp67
    tmp69 = tl.full(tmp68.shape, 0.0, tmp68.dtype)
    tmp70 = tl.where(tmp65, tmp68, tmp69)
    tmp71 = tl.load(in_out_ptr0 + x2, tmp64 & xmask, other=0.0)
    tmp72 = tl.where(tmp15, tmp70, tmp71)
    tmp73 = tl.full(tmp72.shape, 0.0, tmp72.dtype)
    tmp74 = tl.where(tmp64, tmp72, tmp73)
    tmp75 = tl.load(in_out_ptr0 + x2, tmp63 & xmask, other=0.0)
    tmp76 = tl.where(tmp13, tmp74, tmp75)
    tmp77 = tl.full(tmp76.shape, 0.0, tmp76.dtype)
    tmp78 = tl.where(tmp63, tmp76, tmp77)
    tmp79 = tmp13 & tmp62
    tmp80 = tmp15 & tmp79
    tmp81 = tl.load(in_out_ptr0 + x2, tmp80 & xmask, other=0.0)
    tmp82 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp80 & xmask, other=0.0)
    tmp83 = tmp81 + tmp82
    tmp84 = tl.full(tmp83.shape, 0.0, tmp83.dtype)
    tmp85 = tl.where(tmp80, tmp83, tmp84)
    tmp86 = tl.load(in_out_ptr0 + x2, tmp79 & xmask, other=0.0)
    tmp87 = tl.where(tmp15, tmp85, tmp86)
    tmp88 = tl.full(tmp87.shape, 0.0, tmp87.dtype)
    tmp89 = tl.where(tmp79, tmp87, tmp88)
    tmp90 = tl.load(in_out_ptr0 + x2, tmp62 & xmask, other=0.0)
    tmp91 = tl.where(tmp13, tmp89, tmp90)
    tmp92 = tl.where(tmp15, tmp78, tmp91)
    tmp93 = tl.full(tmp92.shape, 0.0, tmp92.dtype)
    tmp94 = tl.where(tmp62, tmp92, tmp93)
    tmp95 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp63 & xmask, other=0.0)
    tmp96 = tmp75 + tmp95
    tmp97 = tl.full(tmp96.shape, 0.0, tmp96.dtype)
    tmp98 = tl.where(tmp63, tmp96, tmp97)
    tmp99 = tl.where(tmp15, tmp98, tmp90)
    tmp100 = tl.full(tmp99.shape, 0.0, tmp99.dtype)
    tmp101 = tl.where(tmp62, tmp99, tmp100)
    tmp102 = tl.load(in_out_ptr0 + x2, tmp5 & xmask, other=0.0)
    tmp103 = tl.where(tmp13, tmp101, tmp102)
    tmp104 = tl.where(tmp13, tmp94, tmp103)
    tmp105 = tl.where(tmp9, tmp61, tmp104)
    tmp106 = tl.full(tmp105.shape, 0.0, tmp105.dtype)
    tmp107 = tl.where(tmp5, tmp105, tmp106)
    tmp108 = tmp15 & tmp13
    tmp109 = tmp13 & tmp108
    tmp110 = tmp15 & tmp109
    tmp111 = tl.load(in_out_ptr0 + x2, tmp110 & xmask, other=0.0)
    tmp112 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp110 & xmask, other=0.0)
    tmp113 = tmp111 + tmp112
    tmp114 = tl.full(tmp113.shape, 0.0, tmp113.dtype)
    tmp115 = tl.where(tmp110, tmp113, tmp114)
    tmp116 = tl.load(in_out_ptr0 + x2, tmp109 & xmask, other=0.0)
    tmp117 = tl.where(tmp15, tmp115, tmp116)
    tmp118 = tl.full(tmp117.shape, 0.0, tmp117.dtype)
    tmp119 = tl.where(tmp109, tmp117, tmp118)
    tmp120 = tl.load(in_out_ptr0 + x2, tmp108 & xmask, other=0.0)
    tmp121 = tl.where(tmp13, tmp119, tmp120)
    tmp122 = tl.full(tmp121.shape, 0.0, tmp121.dtype)
    tmp123 = tl.where(tmp108, tmp121, tmp122)
    tmp124 = tmp13 & tmp13
    tmp125 = tmp15 & tmp124
    tmp126 = tl.load(in_out_ptr0 + x2, tmp125 & xmask, other=0.0)
    tmp127 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp125 & xmask, other=0.0)
    tmp128 = tmp126 + tmp127
    tmp129 = tl.full(tmp128.shape, 0.0, tmp128.dtype)
    tmp130 = tl.where(tmp125, tmp128, tmp129)
    tmp131 = tl.load(in_out_ptr0 + x2, tmp124 & xmask, other=0.0)
    tmp132 = tl.where(tmp15, tmp130, tmp131)
    tmp133 = tl.full(tmp132.shape, 0.0, tmp132.dtype)
    tmp134 = tl.where(tmp124, tmp132, tmp133)
    tmp135 = tl.load(in_out_ptr0 + x2, tmp13 & xmask, other=0.0)
    tmp136 = tl.where(tmp13, tmp134, tmp135)
    tmp137 = tl.where(tmp15, tmp123, tmp136)
    tmp138 = tl.full(tmp137.shape, 0.0, tmp137.dtype)
    tmp139 = tl.where(tmp13, tmp137, tmp138)
    tmp140 = tl.load(in_ptr1 + (84 + x0 + 4 * x1), tmp108 & xmask, other=0.0)
    tmp141 = tmp120 + tmp140
    tmp142 = tl.full(tmp141.shape, 0.0, tmp141.dtype)
    tmp143 = tl.where(tmp108, tmp141, tmp142)
    tmp144 = tl.where(tmp15, tmp143, tmp135)
    tmp145 = tl.full(tmp144.shape, 0.0, tmp144.dtype)
    tmp146 = tl.where(tmp13, tmp144, tmp145)
    tmp148 = tl.where(tmp13, tmp146, tmp147)
    tmp149 = tl.where(tmp13, tmp139, tmp148)
    tmp150 = tl.where(tmp5, tmp107, tmp149)
    tmp151 = tl.where(tmp5, tmp6, tmp150)
    tmp152 = tmp7 >= tmp1
    tmp153 = tmp7 < tmp3
    tmp154 = tmp152 & tmp153
    tmp155 = tmp154 & tmp5
    tmp156 = tmp5 & tmp155
    tmp157 = tmp7 >= tmp8
    tmp158 = tmp7 < tmp1
    tmp159 = tmp157 & tmp158
    tmp160 = tmp159 & tmp156
    tmp161 = tmp5 & tmp160
    tmp162 = tmp159 & tmp161
    tmp163 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp162 & xmask, other=0.0)
    tmp164 = tmp151 + tmp163
    tmp165 = tl.full(tmp164.shape, 0.0, tmp164.dtype)
    tmp166 = tl.where(tmp162, tmp164, tmp165)
    tmp167 = tl.where(tmp159, tmp166, tmp151)
    tmp168 = tl.full(tmp167.shape, 0.0, tmp167.dtype)
    tmp169 = tl.where(tmp161, tmp167, tmp168)
    tmp170 = tl.where(tmp5, tmp169, tmp151)
    tmp171 = tl.full(tmp170.shape, 0.0, tmp170.dtype)
    tmp172 = tl.where(tmp160, tmp170, tmp171)
    tmp173 = tmp5 & tmp156
    tmp174 = tmp159 & tmp173
    tmp175 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp174 & xmask, other=0.0)
    tmp176 = tmp151 + tmp175
    tmp177 = tl.full(tmp176.shape, 0.0, tmp176.dtype)
    tmp178 = tl.where(tmp174, tmp176, tmp177)
    tmp179 = tl.where(tmp159, tmp178, tmp151)
    tmp180 = tl.full(tmp179.shape, 0.0, tmp179.dtype)
    tmp181 = tl.where(tmp173, tmp179, tmp180)
    tmp182 = tl.where(tmp5, tmp181, tmp151)
    tmp183 = tl.where(tmp159, tmp172, tmp182)
    tmp184 = tl.full(tmp183.shape, 0.0, tmp183.dtype)
    tmp185 = tl.where(tmp156, tmp183, tmp184)
    tmp186 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp160 & xmask, other=0.0)
    tmp187 = tmp151 + tmp186
    tmp188 = tl.full(tmp187.shape, 0.0, tmp187.dtype)
    tmp189 = tl.where(tmp160, tmp187, tmp188)
    tmp190 = tl.where(tmp159, tmp189, tmp151)
    tmp191 = tl.full(tmp190.shape, 0.0, tmp190.dtype)
    tmp192 = tl.where(tmp156, tmp190, tmp191)
    tmp193 = tl.where(tmp5, tmp192, tmp151)
    tmp194 = tl.where(tmp5, tmp185, tmp193)
    tmp195 = tl.load(in_ptr1 + (120 + x0 + 4 * x1), tmp155 & xmask, other=0.0)
    tmp196 = tmp194 + tmp195
    tmp197 = tl.full(tmp196.shape, 0.0, tmp196.dtype)
    tmp198 = tl.where(tmp155, tmp196, tmp197)
    tmp199 = tmp5 & tmp5
    tmp200 = tmp159 & tmp199
    tmp201 = tmp5 & tmp200
    tmp202 = tmp159 & tmp201
    tmp203 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp202 & xmask, other=0.0)
    tmp204 = tmp151 + tmp203
    tmp205 = tl.full(tmp204.shape, 0.0, tmp204.dtype)
    tmp206 = tl.where(tmp202, tmp204, tmp205)
    tmp207 = tl.where(tmp159, tmp206, tmp151)
    tmp208 = tl.full(tmp207.shape, 0.0, tmp207.dtype)
    tmp209 = tl.where(tmp201, tmp207, tmp208)
    tmp210 = tl.where(tmp5, tmp209, tmp151)
    tmp211 = tl.full(tmp210.shape, 0.0, tmp210.dtype)
    tmp212 = tl.where(tmp200, tmp210, tmp211)
    tmp213 = tmp5 & tmp199
    tmp214 = tmp159 & tmp213
    tmp215 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp214 & xmask, other=0.0)
    tmp216 = tmp151 + tmp215
    tmp217 = tl.full(tmp216.shape, 0.0, tmp216.dtype)
    tmp218 = tl.where(tmp214, tmp216, tmp217)
    tmp219 = tl.where(tmp159, tmp218, tmp151)
    tmp220 = tl.full(tmp219.shape, 0.0, tmp219.dtype)
    tmp221 = tl.where(tmp213, tmp219, tmp220)
    tmp222 = tl.where(tmp5, tmp221, tmp151)
    tmp223 = tl.where(tmp159, tmp212, tmp222)
    tmp224 = tl.full(tmp223.shape, 0.0, tmp223.dtype)
    tmp225 = tl.where(tmp199, tmp223, tmp224)
    tmp226 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp200 & xmask, other=0.0)
    tmp227 = tmp151 + tmp226
    tmp228 = tl.full(tmp227.shape, 0.0, tmp227.dtype)
    tmp229 = tl.where(tmp200, tmp227, tmp228)
    tmp230 = tl.where(tmp159, tmp229, tmp151)
    tmp231 = tl.full(tmp230.shape, 0.0, tmp230.dtype)
    tmp232 = tl.where(tmp199, tmp230, tmp231)
    tmp233 = tl.where(tmp5, tmp232, tmp151)
    tmp234 = tl.where(tmp5, tmp225, tmp233)
    tmp235 = tl.where(tmp154, tmp198, tmp234)
    tmp236 = tl.full(tmp235.shape, 0.0, tmp235.dtype)
    tmp237 = tl.where(tmp5, tmp235, tmp236)
    tmp238 = tmp159 & tmp5
    tmp239 = tmp5 & tmp238
    tmp240 = tmp159 & tmp239
    tmp241 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp240 & xmask, other=0.0)
    tmp242 = tmp151 + tmp241
    tmp243 = tl.full(tmp242.shape, 0.0, tmp242.dtype)
    tmp244 = tl.where(tmp240, tmp242, tmp243)
    tmp245 = tl.where(tmp159, tmp244, tmp151)
    tmp246 = tl.full(tmp245.shape, 0.0, tmp245.dtype)
    tmp247 = tl.where(tmp239, tmp245, tmp246)
    tmp248 = tl.where(tmp5, tmp247, tmp151)
    tmp249 = tl.full(tmp248.shape, 0.0, tmp248.dtype)
    tmp250 = tl.where(tmp238, tmp248, tmp249)
    tmp251 = tl.where(tmp159, tmp250, tmp233)
    tmp252 = tl.full(tmp251.shape, 0.0, tmp251.dtype)
    tmp253 = tl.where(tmp5, tmp251, tmp252)
    tmp254 = tl.load(in_ptr1 + (108 + x0 + 4 * x1), tmp238 & xmask, other=0.0)
    tmp255 = tmp151 + tmp254
    tmp256 = tl.full(tmp255.shape, 0.0, tmp255.dtype)
    tmp257 = tl.where(tmp238, tmp255, tmp256)
    tmp258 = tl.where(tmp159, tmp257, tmp151)
    tmp259 = tl.full(tmp258.shape, 0.0, tmp258.dtype)
    tmp260 = tl.where(tmp5, tmp258, tmp259)
    tmp261 = tl.where(tmp5, tmp260, tmp151)
    tmp262 = tl.where(tmp5, tmp253, tmp261)
    tmp263 = tl.where(tmp5, tmp237, tmp262)
    tl.store(in_out_ptr0 + x2, tmp263, xmask)


@triton.jit
def triton_poi_fused_add_7(in_ptr0, in_ptr1, out_ptr0, out_ptr1, xnumel,
    XBLOCK: tl.constexpr):
    xnumel = 64
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x0 = xindex % 16
    x1 = xindex // 16
    x2 = xindex
    tmp198 = tl.load(in_ptr0 + (192 + x2), xmask)
    tmp0 = x0
    tmp1 = tl.full([1], 4, tl.int64)
    tmp2 = tmp0 < tmp1
    tmp3 = 12 + x1
    tmp4 = tl.full([1], 8, tl.int64)
    tmp5 = tmp3 >= tmp4
    tmp6 = tl.full([1], 12, tl.int64)
    tmp7 = tmp3 < tmp6
    tmp8 = tmp5 & tmp7
    tmp9 = tmp8 & tmp2
    tmp10 = tmp0 >= tmp6
    tmp11 = tmp10 & tmp9
    tmp12 = tmp8 & tmp11
    tmp13 = tmp10 & tmp12
    tmp14 = tmp8 & tmp13
    tmp15 = tmp0 >= tmp4
    tmp16 = tmp0 < tmp6
    tmp17 = tmp15 & tmp16
    tmp18 = tmp17 & tmp14
    tmp19 = tl.load(in_ptr0 + (192 + x2), tmp18 & xmask, other=0.0)
    tmp20 = tl.load(in_ptr0 + (192 + x2), tmp14 & xmask, other=0.0)
    tmp21 = tl.where(tmp17, tmp19, tmp20)
    tmp22 = tl.full(tmp21.shape, 0.0, tmp21.dtype)
    tmp23 = tl.where(tmp14, tmp21, tmp22)
    tmp24 = tl.load(in_ptr0 + (192 + x2), tmp13 & xmask, other=0.0)
    tmp25 = tl.where(tmp8, tmp23, tmp24)
    tmp26 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp13 & xmask, other=0.0)
    tmp27 = tmp25 + tmp26
    tmp28 = tl.full(tmp27.shape, 0.0, tmp27.dtype)
    tmp29 = tl.where(tmp13, tmp27, tmp28)
    tmp30 = tmp8 & tmp12
    tmp31 = tmp17 & tmp30
    tmp32 = tl.load(in_ptr0 + (192 + x2), tmp31 & xmask, other=0.0)
    tmp33 = tl.load(in_ptr0 + (192 + x2), tmp30 & xmask, other=0.0)
    tmp34 = tl.where(tmp17, tmp32, tmp33)
    tmp35 = tl.full(tmp34.shape, 0.0, tmp34.dtype)
    tmp36 = tl.where(tmp30, tmp34, tmp35)
    tmp37 = tl.load(in_ptr0 + (192 + x2), tmp12 & xmask, other=0.0)
    tmp38 = tl.where(tmp8, tmp36, tmp37)
    tmp39 = tl.where(tmp10, tmp29, tmp38)
    tmp40 = tl.full(tmp39.shape, 0.0, tmp39.dtype)
    tmp41 = tl.where(tmp12, tmp39, tmp40)
    tmp42 = tmp17 & tmp12
    tmp43 = tl.load(in_ptr0 + (192 + x2), tmp42 & xmask, other=0.0)
    tmp44 = tl.where(tmp17, tmp43, tmp37)
    tmp45 = tl.full(tmp44.shape, 0.0, tmp44.dtype)
    tmp46 = tl.where(tmp12, tmp44, tmp45)
    tmp47 = tl.load(in_ptr0 + (192 + x2), tmp11 & xmask, other=0.0)
    tmp48 = tl.where(tmp8, tmp46, tmp47)
    tmp49 = tl.where(tmp8, tmp41, tmp48)
    tmp50 = tl.full(tmp49.shape, 0.0, tmp49.dtype)
    tmp51 = tl.where(tmp11, tmp49, tmp50)
    tmp52 = tmp8 & tmp9
    tmp53 = tmp10 & tmp52
    tmp54 = tmp8 & tmp53
    tmp55 = tmp17 & tmp54
    tmp56 = tl.load(in_ptr0 + (192 + x2), tmp55 & xmask, other=0.0)
    tmp57 = tl.load(in_ptr0 + (192 + x2), tmp54 & xmask, other=0.0)
    tmp58 = tl.where(tmp17, tmp56, tmp57)
    tmp59 = tl.full(tmp58.shape, 0.0, tmp58.dtype)
    tmp60 = tl.where(tmp54, tmp58, tmp59)
    tmp61 = tl.load(in_ptr0 + (192 + x2), tmp53 & xmask, other=0.0)
    tmp62 = tl.where(tmp8, tmp60, tmp61)
    tmp63 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp53 & xmask, other=0.0)
    tmp64 = tmp62 + tmp63
    tmp65 = tl.full(tmp64.shape, 0.0, tmp64.dtype)
    tmp66 = tl.where(tmp53, tmp64, tmp65)
    tmp67 = tmp8 & tmp52
    tmp68 = tmp17 & tmp67
    tmp69 = tl.load(in_ptr0 + (192 + x2), tmp68 & xmask, other=0.0)
    tmp70 = tl.load(in_ptr0 + (192 + x2), tmp67 & xmask, other=0.0)
    tmp71 = tl.where(tmp17, tmp69, tmp70)
    tmp72 = tl.full(tmp71.shape, 0.0, tmp71.dtype)
    tmp73 = tl.where(tmp67, tmp71, tmp72)
    tmp74 = tl.load(in_ptr0 + (192 + x2), tmp52 & xmask, other=0.0)
    tmp75 = tl.where(tmp8, tmp73, tmp74)
    tmp76 = tl.where(tmp10, tmp66, tmp75)
    tmp77 = tl.full(tmp76.shape, 0.0, tmp76.dtype)
    tmp78 = tl.where(tmp52, tmp76, tmp77)
    tmp79 = tmp17 & tmp52
    tmp80 = tl.load(in_ptr0 + (192 + x2), tmp79 & xmask, other=0.0)
    tmp81 = tl.where(tmp17, tmp80, tmp74)
    tmp82 = tl.full(tmp81.shape, 0.0, tmp81.dtype)
    tmp83 = tl.where(tmp52, tmp81, tmp82)
    tmp84 = tl.load(in_ptr0 + (192 + x2), tmp9 & xmask, other=0.0)
    tmp85 = tl.where(tmp8, tmp83, tmp84)
    tmp86 = tl.where(tmp8, tmp78, tmp85)
    tmp87 = tl.where(tmp10, tmp51, tmp86)
    tmp88 = tl.full(tmp87.shape, 0.0, tmp87.dtype)
    tmp89 = tl.where(tmp9, tmp87, tmp88)
    tmp90 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp11 & xmask, other=0.0)
    tmp91 = tmp48 + tmp90
    tmp92 = tl.full(tmp91.shape, 0.0, tmp91.dtype)
    tmp93 = tl.where(tmp11, tmp91, tmp92)
    tmp94 = tl.where(tmp10, tmp93, tmp85)
    tmp95 = tl.full(tmp94.shape, 0.0, tmp94.dtype)
    tmp96 = tl.where(tmp9, tmp94, tmp95)
    tmp97 = tmp17 & tmp9
    tmp98 = tl.load(in_ptr0 + (192 + x2), tmp97 & xmask, other=0.0)
    tmp99 = tl.where(tmp17, tmp98, tmp84)
    tmp100 = tl.full(tmp99.shape, 0.0, tmp99.dtype)
    tmp101 = tl.where(tmp9, tmp99, tmp100)
    tmp102 = tl.load(in_ptr0 + (192 + x2), tmp2 & xmask, other=0.0)
    tmp103 = tl.where(tmp8, tmp101, tmp102)
    tmp104 = tl.where(tmp8, tmp96, tmp103)
    tmp105 = tl.where(tmp8, tmp89, tmp104)
    tmp106 = tl.load(in_ptr1 + (192 + x0 + 4 * x1), tmp2 & xmask, other=0.0)
    tmp107 = tmp105 + tmp106
    tmp108 = tl.full(tmp107.shape, 0.0, tmp107.dtype)
    tmp109 = tl.where(tmp2, tmp107, tmp108)
    tmp110 = tmp10 & tmp8
    tmp111 = tmp8 & tmp110
    tmp112 = tmp10 & tmp111
    tmp113 = tmp8 & tmp112
    tmp114 = tmp17 & tmp113
    tmp115 = tl.load(in_ptr0 + (192 + x2), tmp114 & xmask, other=0.0)
    tmp116 = tl.load(in_ptr0 + (192 + x2), tmp113 & xmask, other=0.0)
    tmp117 = tl.where(tmp17, tmp115, tmp116)
    tmp118 = tl.full(tmp117.shape, 0.0, tmp117.dtype)
    tmp119 = tl.where(tmp113, tmp117, tmp118)
    tmp120 = tl.load(in_ptr0 + (192 + x2), tmp112 & xmask, other=0.0)
    tmp121 = tl.where(tmp8, tmp119, tmp120)
    tmp122 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp112 & xmask, other=0.0)
    tmp123 = tmp121 + tmp122
    tmp124 = tl.full(tmp123.shape, 0.0, tmp123.dtype)
    tmp125 = tl.where(tmp112, tmp123, tmp124)
    tmp126 = tmp8 & tmp111
    tmp127 = tmp17 & tmp126
    tmp128 = tl.load(in_ptr0 + (192 + x2), tmp127 & xmask, other=0.0)
    tmp129 = tl.load(in_ptr0 + (192 + x2), tmp126 & xmask, other=0.0)
    tmp130 = tl.where(tmp17, tmp128, tmp129)
    tmp131 = tl.full(tmp130.shape, 0.0, tmp130.dtype)
    tmp132 = tl.where(tmp126, tmp130, tmp131)
    tmp133 = tl.load(in_ptr0 + (192 + x2), tmp111 & xmask, other=0.0)
    tmp134 = tl.where(tmp8, tmp132, tmp133)
    tmp135 = tl.where(tmp10, tmp125, tmp134)
    tmp136 = tl.full(tmp135.shape, 0.0, tmp135.dtype)
    tmp137 = tl.where(tmp111, tmp135, tmp136)
    tmp138 = tmp17 & tmp111
    tmp139 = tl.load(in_ptr0 + (192 + x2), tmp138 & xmask, other=0.0)
    tmp140 = tl.where(tmp17, tmp139, tmp133)
    tmp141 = tl.full(tmp140.shape, 0.0, tmp140.dtype)
    tmp142 = tl.where(tmp111, tmp140, tmp141)
    tmp143 = tl.load(in_ptr0 + (192 + x2), tmp110 & xmask, other=0.0)
    tmp144 = tl.where(tmp8, tmp142, tmp143)
    tmp145 = tl.where(tmp8, tmp137, tmp144)
    tmp146 = tl.full(tmp145.shape, 0.0, tmp145.dtype)
    tmp147 = tl.where(tmp110, tmp145, tmp146)
    tmp148 = tmp8 & tmp8
    tmp149 = tmp10 & tmp148
    tmp150 = tmp8 & tmp149
    tmp151 = tmp17 & tmp150
    tmp152 = tl.load(in_ptr0 + (192 + x2), tmp151 & xmask, other=0.0)
    tmp153 = tl.load(in_ptr0 + (192 + x2), tmp150 & xmask, other=0.0)
    tmp154 = tl.where(tmp17, tmp152, tmp153)
    tmp155 = tl.full(tmp154.shape, 0.0, tmp154.dtype)
    tmp156 = tl.where(tmp150, tmp154, tmp155)
    tmp157 = tl.load(in_ptr0 + (192 + x2), tmp149 & xmask, other=0.0)
    tmp158 = tl.where(tmp8, tmp156, tmp157)
    tmp159 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp149 & xmask, other=0.0)
    tmp160 = tmp158 + tmp159
    tmp161 = tl.full(tmp160.shape, 0.0, tmp160.dtype)
    tmp162 = tl.where(tmp149, tmp160, tmp161)
    tmp163 = tmp8 & tmp148
    tmp164 = tmp17 & tmp163
    tmp165 = tl.load(in_ptr0 + (192 + x2), tmp164 & xmask, other=0.0)
    tmp166 = tl.load(in_ptr0 + (192 + x2), tmp163 & xmask, other=0.0)
    tmp167 = tl.where(tmp17, tmp165, tmp166)
    tmp168 = tl.full(tmp167.shape, 0.0, tmp167.dtype)
    tmp169 = tl.where(tmp163, tmp167, tmp168)
    tmp170 = tl.load(in_ptr0 + (192 + x2), tmp148 & xmask, other=0.0)
    tmp171 = tl.where(tmp8, tmp169, tmp170)
    tmp172 = tl.where(tmp10, tmp162, tmp171)
    tmp173 = tl.full(tmp172.shape, 0.0, tmp172.dtype)
    tmp174 = tl.where(tmp148, tmp172, tmp173)
    tmp175 = tmp17 & tmp148
    tmp176 = tl.load(in_ptr0 + (192 + x2), tmp175 & xmask, other=0.0)
    tmp177 = tl.where(tmp17, tmp176, tmp170)
    tmp178 = tl.full(tmp177.shape, 0.0, tmp177.dtype)
    tmp179 = tl.where(tmp148, tmp177, tmp178)
    tmp180 = tl.load(in_ptr0 + (192 + x2), tmp8 & xmask, other=0.0)
    tmp181 = tl.where(tmp8, tmp179, tmp180)
    tmp182 = tl.where(tmp8, tmp174, tmp181)
    tmp183 = tl.where(tmp10, tmp147, tmp182)
    tmp184 = tl.full(tmp183.shape, 0.0, tmp183.dtype)
    tmp185 = tl.where(tmp8, tmp183, tmp184)
    tmp186 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp110 & xmask, other=0.0)
    tmp187 = tmp144 + tmp186
    tmp188 = tl.full(tmp187.shape, 0.0, tmp187.dtype)
    tmp189 = tl.where(tmp110, tmp187, tmp188)
    tmp190 = tl.where(tmp10, tmp189, tmp181)
    tmp191 = tl.full(tmp190.shape, 0.0, tmp190.dtype)
    tmp192 = tl.where(tmp8, tmp190, tmp191)
    tmp193 = tmp17 & tmp8
    tmp194 = tl.load(in_ptr0 + (192 + x2), tmp193 & xmask, other=0.0)
    tmp195 = tl.where(tmp17, tmp194, tmp180)
    tmp196 = tl.full(tmp195.shape, 0.0, tmp195.dtype)
    tmp197 = tl.where(tmp8, tmp195, tmp196)
    tmp199 = tl.where(tmp8, tmp197, tmp198)
    tmp200 = tl.where(tmp8, tmp192, tmp199)
    tmp201 = tl.where(tmp8, tmp185, tmp200)
    tmp202 = tl.where(tmp2, tmp109, tmp201)
    tmp203 = tmp3 >= tmp6
    tmp203 & tmp2
    tmp205 = tl.where(tmp203, tmp202, tmp105)
    tmp206 = tl.full(tmp205.shape, 0.0, tmp205.dtype)
    tmp207 = tl.where(tmp2, tmp205, tmp206)
    tmp208 = tl.where(tmp203, tmp202, tmp201)
    tmp209 = tl.where(tmp2, tmp207, tmp208)
    tl.store(out_ptr0 + x2, tmp202, xmask)
    tl.store(out_ptr1 + x2, tmp209, xmask)


@triton.jit
def triton_poi_fused_add_8(in_out_ptr0, in_ptr0, in_ptr1, in_ptr2, xnumel,
    XBLOCK: tl.constexpr):
    xnumel = 256
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x1 = xindex // 16
    x2 = xindex
    x0 = xindex % 16
    tmp102 = tl.load(in_out_ptr0 + x2, xmask)
    tmp0 = x1
    tmp1 = tl.full([1], 12, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.load(in_ptr0 + (-192 + x2), tmp2 & xmask, other=0.0)
    tmp4 = tl.load(in_ptr1 + (-192 + x2), tmp2 & xmask, other=0.0)
    tmp5 = tl.full([1], 8, tl.int64)
    tmp6 = tmp0 >= tmp5
    tmp7 = tmp0 < tmp1
    tmp8 = tmp6 & tmp7
    tmp9 = x0
    tmp10 = tmp9 >= tmp1
    tmp11 = tmp10 & tmp8
    tmp12 = tmp8 & tmp11
    tmp13 = tmp10 & tmp12
    tmp14 = tmp8 & tmp13
    tmp15 = tmp9 >= tmp5
    tmp16 = tmp9 < tmp1
    tmp17 = tmp15 & tmp16
    tmp18 = tmp17 & tmp14
    tmp19 = tl.load(in_out_ptr0 + x2, tmp18 & xmask, other=0.0)
    tmp20 = tl.load(in_out_ptr0 + x2, tmp14 & xmask, other=0.0)
    tmp21 = tl.where(tmp17, tmp19, tmp20)
    tmp22 = tl.full(tmp21.shape, 0.0, tmp21.dtype)
    tmp23 = tl.where(tmp14, tmp21, tmp22)
    tmp24 = tl.load(in_out_ptr0 + x2, tmp13 & xmask, other=0.0)
    tmp25 = tl.where(tmp8, tmp23, tmp24)
    tmp26 = tl.load(in_ptr2 + (132 + x0 + 4 * x1), tmp13 & xmask, other=0.0)
    tmp27 = tmp25 + tmp26
    tmp28 = tl.full(tmp27.shape, 0.0, tmp27.dtype)
    tmp29 = tl.where(tmp13, tmp27, tmp28)
    tmp30 = tmp8 & tmp12
    tmp31 = tmp17 & tmp30
    tmp32 = tl.load(in_out_ptr0 + x2, tmp31 & xmask, other=0.0)
    tmp33 = tl.load(in_out_ptr0 + x2, tmp30 & xmask, other=0.0)
    tmp34 = tl.where(tmp17, tmp32, tmp33)
    tmp35 = tl.full(tmp34.shape, 0.0, tmp34.dtype)
    tmp36 = tl.where(tmp30, tmp34, tmp35)
    tmp37 = tl.load(in_out_ptr0 + x2, tmp12 & xmask, other=0.0)
    tmp38 = tl.where(tmp8, tmp36, tmp37)
    tmp39 = tl.where(tmp10, tmp29, tmp38)
    tmp40 = tl.full(tmp39.shape, 0.0, tmp39.dtype)
    tmp41 = tl.where(tmp12, tmp39, tmp40)
    tmp42 = tmp17 & tmp12
    tmp43 = tl.load(in_out_ptr0 + x2, tmp42 & xmask, other=0.0)
    tmp44 = tl.where(tmp17, tmp43, tmp37)
    tmp45 = tl.full(tmp44.shape, 0.0, tmp44.dtype)
    tmp46 = tl.where(tmp12, tmp44, tmp45)
    tmp47 = tl.load(in_out_ptr0 + x2, tmp11 & xmask, other=0.0)
    tmp48 = tl.where(tmp8, tmp46, tmp47)
    tmp49 = tl.where(tmp8, tmp41, tmp48)
    tmp50 = tl.full(tmp49.shape, 0.0, tmp49.dtype)
    tmp51 = tl.where(tmp11, tmp49, tmp50)
    tmp52 = tmp8 & tmp8
    tmp53 = tmp10 & tmp52
    tmp54 = tmp8 & tmp53
    tmp55 = tmp17 & tmp54
    tmp56 = tl.load(in_out_ptr0 + x2, tmp55 & xmask, other=0.0)
    tmp57 = tl.load(in_out_ptr0 + x2, tmp54 & xmask, other=0.0)
    tmp58 = tl.where(tmp17, tmp56, tmp57)
    tmp59 = tl.full(tmp58.shape, 0.0, tmp58.dtype)
    tmp60 = tl.where(tmp54, tmp58, tmp59)
    tmp61 = tl.load(in_out_ptr0 + x2, tmp53 & xmask, other=0.0)
    tmp62 = tl.where(tmp8, tmp60, tmp61)
    tmp63 = tl.load(in_ptr2 + (132 + x0 + 4 * x1), tmp53 & xmask, other=0.0)
    tmp64 = tmp62 + tmp63
    tmp65 = tl.full(tmp64.shape, 0.0, tmp64.dtype)
    tmp66 = tl.where(tmp53, tmp64, tmp65)
    tmp67 = tmp8 & tmp52
    tmp68 = tmp17 & tmp67
    tmp69 = tl.load(in_out_ptr0 + x2, tmp68 & xmask, other=0.0)
    tmp70 = tl.load(in_out_ptr0 + x2, tmp67 & xmask, other=0.0)
    tmp71 = tl.where(tmp17, tmp69, tmp70)
    tmp72 = tl.full(tmp71.shape, 0.0, tmp71.dtype)
    tmp73 = tl.where(tmp67, tmp71, tmp72)
    tmp74 = tl.load(in_out_ptr0 + x2, tmp52 & xmask, other=0.0)
    tmp75 = tl.where(tmp8, tmp73, tmp74)
    tmp76 = tl.where(tmp10, tmp66, tmp75)
    tmp77 = tl.full(tmp76.shape, 0.0, tmp76.dtype)
    tmp78 = tl.where(tmp52, tmp76, tmp77)
    tmp79 = tmp17 & tmp52
    tmp80 = tl.load(in_out_ptr0 + x2, tmp79 & xmask, other=0.0)
    tmp81 = tl.where(tmp17, tmp80, tmp74)
    tmp82 = tl.full(tmp81.shape, 0.0, tmp81.dtype)
    tmp83 = tl.where(tmp52, tmp81, tmp82)
    tmp84 = tl.load(in_out_ptr0 + x2, tmp8 & xmask, other=0.0)
    tmp85 = tl.where(tmp8, tmp83, tmp84)
    tmp86 = tl.where(tmp8, tmp78, tmp85)
    tmp87 = tl.where(tmp10, tmp51, tmp86)
    tmp88 = tl.full(tmp87.shape, 0.0, tmp87.dtype)
    tmp89 = tl.where(tmp8, tmp87, tmp88)
    tmp90 = tl.load(in_ptr2 + (132 + x0 + 4 * x1), tmp11 & xmask, other=0.0)
    tmp91 = tmp48 + tmp90
    tmp92 = tl.full(tmp91.shape, 0.0, tmp91.dtype)
    tmp93 = tl.where(tmp11, tmp91, tmp92)
    tmp94 = tl.where(tmp10, tmp93, tmp85)
    tmp95 = tl.full(tmp94.shape, 0.0, tmp94.dtype)
    tmp96 = tl.where(tmp8, tmp94, tmp95)
    tmp97 = tmp17 & tmp8
    tmp98 = tl.load(in_out_ptr0 + x2, tmp97 & xmask, other=0.0)
    tmp99 = tl.where(tmp17, tmp98, tmp84)
    tmp100 = tl.full(tmp99.shape, 0.0, tmp99.dtype)
    tmp101 = tl.where(tmp8, tmp99, tmp100)
    tmp103 = tl.where(tmp8, tmp101, tmp102)
    tmp104 = tl.where(tmp8, tmp96, tmp103)
    tmp105 = tl.where(tmp8, tmp89, tmp104)
    tmp106 = tl.where(tmp2, tmp4, tmp105)
    tmp107 = tl.where(tmp2, tmp3, tmp106)
    tl.store(in_out_ptr0 + x2, tmp107, xmask)


@triton.jit
def triton_poi_fused_9(in_ptr0, in_ptr1, out_ptr0, xnumel, XBLOCK: tl.constexpr
    ):
    xnumel = 64
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x0 = xindex % 16
    x1 = xindex // 16
    x2 = xindex
    tmp259 = tl.load(in_ptr0 + (192 + x2), xmask)
    tmp0 = x0
    tmp1 = tl.full([1], 8, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.full([1], 12, tl.int64)
    tmp4 = tmp0 < tmp3
    tmp5 = tmp2 & tmp4
    tmp6 = 12 + x1
    tmp7 = tmp6 >= tmp3
    tmp8 = tmp7 & tmp5
    tmp9 = tmp5 & tmp8
    tmp10 = tmp7 & tmp9
    tmp11 = tl.full([1], 4, tl.int64)
    tmp12 = tmp0 >= tmp11
    tmp13 = tmp0 < tmp1
    tmp14 = tmp12 & tmp13
    tmp15 = tmp14 & tmp10
    tmp16 = tmp7 & tmp15
    tmp17 = tmp14 & tmp16
    tmp18 = tl.load(in_ptr0 + (192 + x2), tmp17 & xmask, other=0.0)
    tmp19 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp17 & xmask, other=0.0)
    tmp20 = tmp18 + tmp19
    tmp21 = tl.full(tmp20.shape, 0.0, tmp20.dtype)
    tmp22 = tl.where(tmp17, tmp20, tmp21)
    tmp23 = tl.load(in_ptr0 + (192 + x2), tmp16 & xmask, other=0.0)
    tmp24 = tl.where(tmp14, tmp22, tmp23)
    tmp25 = tl.full(tmp24.shape, 0.0, tmp24.dtype)
    tmp26 = tl.where(tmp16, tmp24, tmp25)
    tmp27 = tl.load(in_ptr0 + (192 + x2), tmp15 & xmask, other=0.0)
    tmp28 = tl.where(tmp7, tmp26, tmp27)
    tmp29 = tl.full(tmp28.shape, 0.0, tmp28.dtype)
    tmp30 = tl.where(tmp15, tmp28, tmp29)
    tmp31 = tmp7 & tmp10
    tmp32 = tmp14 & tmp31
    tmp33 = tl.load(in_ptr0 + (192 + x2), tmp32 & xmask, other=0.0)
    tmp34 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp32 & xmask, other=0.0)
    tmp35 = tmp33 + tmp34
    tmp36 = tl.full(tmp35.shape, 0.0, tmp35.dtype)
    tmp37 = tl.where(tmp32, tmp35, tmp36)
    tmp38 = tl.load(in_ptr0 + (192 + x2), tmp31 & xmask, other=0.0)
    tmp39 = tl.where(tmp14, tmp37, tmp38)
    tmp40 = tl.full(tmp39.shape, 0.0, tmp39.dtype)
    tmp41 = tl.where(tmp31, tmp39, tmp40)
    tmp42 = tl.load(in_ptr0 + (192 + x2), tmp10 & xmask, other=0.0)
    tmp43 = tl.where(tmp7, tmp41, tmp42)
    tmp44 = tl.where(tmp14, tmp30, tmp43)
    tmp45 = tl.full(tmp44.shape, 0.0, tmp44.dtype)
    tmp46 = tl.where(tmp10, tmp44, tmp45)
    tmp47 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp15 & xmask, other=0.0)
    tmp48 = tmp27 + tmp47
    tmp49 = tl.full(tmp48.shape, 0.0, tmp48.dtype)
    tmp50 = tl.where(tmp15, tmp48, tmp49)
    tmp51 = tl.where(tmp14, tmp50, tmp42)
    tmp52 = tl.full(tmp51.shape, 0.0, tmp51.dtype)
    tmp53 = tl.where(tmp10, tmp51, tmp52)
    tmp54 = tl.load(in_ptr0 + (192 + x2), tmp9 & xmask, other=0.0)
    tmp55 = tl.where(tmp7, tmp53, tmp54)
    tmp56 = tl.where(tmp7, tmp46, tmp55)
    tmp57 = tl.load(in_ptr1 + (216 + x0 + 4 * x1), tmp9 & xmask, other=0.0)
    tmp58 = tmp56 + tmp57
    tmp59 = tl.full(tmp58.shape, 0.0, tmp58.dtype)
    tmp60 = tl.where(tmp9, tmp58, tmp59)
    tmp61 = tmp7 & tmp8
    tmp62 = tmp14 & tmp61
    tmp63 = tmp7 & tmp62
    tmp64 = tmp14 & tmp63
    tmp65 = tl.load(in_ptr0 + (192 + x2), tmp64 & xmask, other=0.0)
    tmp66 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp64 & xmask, other=0.0)
    tmp67 = tmp65 + tmp66
    tmp68 = tl.full(tmp67.shape, 0.0, tmp67.dtype)
    tmp69 = tl.where(tmp64, tmp67, tmp68)
    tmp70 = tl.load(in_ptr0 + (192 + x2), tmp63 & xmask, other=0.0)
    tmp71 = tl.where(tmp14, tmp69, tmp70)
    tmp72 = tl.full(tmp71.shape, 0.0, tmp71.dtype)
    tmp73 = tl.where(tmp63, tmp71, tmp72)
    tmp74 = tl.load(in_ptr0 + (192 + x2), tmp62 & xmask, other=0.0)
    tmp75 = tl.where(tmp7, tmp73, tmp74)
    tmp76 = tl.full(tmp75.shape, 0.0, tmp75.dtype)
    tmp77 = tl.where(tmp62, tmp75, tmp76)
    tmp78 = tmp7 & tmp61
    tmp79 = tmp14 & tmp78
    tmp80 = tl.load(in_ptr0 + (192 + x2), tmp79 & xmask, other=0.0)
    tmp81 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp79 & xmask, other=0.0)
    tmp82 = tmp80 + tmp81
    tmp83 = tl.full(tmp82.shape, 0.0, tmp82.dtype)
    tmp84 = tl.where(tmp79, tmp82, tmp83)
    tmp85 = tl.load(in_ptr0 + (192 + x2), tmp78 & xmask, other=0.0)
    tmp86 = tl.where(tmp14, tmp84, tmp85)
    tmp87 = tl.full(tmp86.shape, 0.0, tmp86.dtype)
    tmp88 = tl.where(tmp78, tmp86, tmp87)
    tmp89 = tl.load(in_ptr0 + (192 + x2), tmp61 & xmask, other=0.0)
    tmp90 = tl.where(tmp7, tmp88, tmp89)
    tmp91 = tl.where(tmp14, tmp77, tmp90)
    tmp92 = tl.full(tmp91.shape, 0.0, tmp91.dtype)
    tmp93 = tl.where(tmp61, tmp91, tmp92)
    tmp94 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp62 & xmask, other=0.0)
    tmp95 = tmp74 + tmp94
    tmp96 = tl.full(tmp95.shape, 0.0, tmp95.dtype)
    tmp97 = tl.where(tmp62, tmp95, tmp96)
    tmp98 = tl.where(tmp14, tmp97, tmp89)
    tmp99 = tl.full(tmp98.shape, 0.0, tmp98.dtype)
    tmp100 = tl.where(tmp61, tmp98, tmp99)
    tmp101 = tl.load(in_ptr0 + (192 + x2), tmp8 & xmask, other=0.0)
    tmp102 = tl.where(tmp7, tmp100, tmp101)
    tmp103 = tl.where(tmp7, tmp93, tmp102)
    tmp104 = tl.where(tmp5, tmp60, tmp103)
    tmp105 = tl.full(tmp104.shape, 0.0, tmp104.dtype)
    tmp106 = tl.where(tmp8, tmp104, tmp105)
    tmp107 = tmp14 & tmp8
    tmp108 = tmp7 & tmp107
    tmp109 = tmp14 & tmp108
    tmp110 = tl.load(in_ptr0 + (192 + x2), tmp109 & xmask, other=0.0)
    tmp111 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp109 & xmask, other=0.0)
    tmp112 = tmp110 + tmp111
    tmp113 = tl.full(tmp112.shape, 0.0, tmp112.dtype)
    tmp114 = tl.where(tmp109, tmp112, tmp113)
    tmp115 = tl.load(in_ptr0 + (192 + x2), tmp108 & xmask, other=0.0)
    tmp116 = tl.where(tmp14, tmp114, tmp115)
    tmp117 = tl.full(tmp116.shape, 0.0, tmp116.dtype)
    tmp118 = tl.where(tmp108, tmp116, tmp117)
    tmp119 = tl.load(in_ptr0 + (192 + x2), tmp107 & xmask, other=0.0)
    tmp120 = tl.where(tmp7, tmp118, tmp119)
    tmp121 = tl.full(tmp120.shape, 0.0, tmp120.dtype)
    tmp122 = tl.where(tmp107, tmp120, tmp121)
    tmp123 = tl.where(tmp14, tmp122, tmp102)
    tmp124 = tl.full(tmp123.shape, 0.0, tmp123.dtype)
    tmp125 = tl.where(tmp8, tmp123, tmp124)
    tmp126 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp107 & xmask, other=0.0)
    tmp127 = tmp119 + tmp126
    tmp128 = tl.full(tmp127.shape, 0.0, tmp127.dtype)
    tmp129 = tl.where(tmp107, tmp127, tmp128)
    tmp130 = tl.where(tmp14, tmp129, tmp101)
    tmp131 = tl.full(tmp130.shape, 0.0, tmp130.dtype)
    tmp132 = tl.where(tmp8, tmp130, tmp131)
    tmp133 = tl.load(in_ptr0 + (192 + x2), tmp5 & xmask, other=0.0)
    tmp134 = tl.where(tmp7, tmp132, tmp133)
    tmp135 = tl.where(tmp7, tmp125, tmp134)
    tmp136 = tl.where(tmp7, tmp106, tmp135)
    tmp137 = tl.full(tmp136.shape, 0.0, tmp136.dtype)
    tmp138 = tl.where(tmp5, tmp136, tmp137)
    tmp139 = tmp5 & tmp7
    tmp140 = tmp7 & tmp139
    tmp141 = tmp14 & tmp140
    tmp142 = tmp7 & tmp141
    tmp143 = tmp14 & tmp142
    tmp144 = tl.load(in_ptr0 + (192 + x2), tmp143 & xmask, other=0.0)
    tmp145 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp143 & xmask, other=0.0)
    tmp146 = tmp144 + tmp145
    tmp147 = tl.full(tmp146.shape, 0.0, tmp146.dtype)
    tmp148 = tl.where(tmp143, tmp146, tmp147)
    tmp149 = tl.load(in_ptr0 + (192 + x2), tmp142 & xmask, other=0.0)
    tmp150 = tl.where(tmp14, tmp148, tmp149)
    tmp151 = tl.full(tmp150.shape, 0.0, tmp150.dtype)
    tmp152 = tl.where(tmp142, tmp150, tmp151)
    tmp153 = tl.load(in_ptr0 + (192 + x2), tmp141 & xmask, other=0.0)
    tmp154 = tl.where(tmp7, tmp152, tmp153)
    tmp155 = tl.full(tmp154.shape, 0.0, tmp154.dtype)
    tmp156 = tl.where(tmp141, tmp154, tmp155)
    tmp157 = tmp7 & tmp140
    tmp158 = tmp14 & tmp157
    tmp159 = tl.load(in_ptr0 + (192 + x2), tmp158 & xmask, other=0.0)
    tmp160 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp158 & xmask, other=0.0)
    tmp161 = tmp159 + tmp160
    tmp162 = tl.full(tmp161.shape, 0.0, tmp161.dtype)
    tmp163 = tl.where(tmp158, tmp161, tmp162)
    tmp164 = tl.load(in_ptr0 + (192 + x2), tmp157 & xmask, other=0.0)
    tmp165 = tl.where(tmp14, tmp163, tmp164)
    tmp166 = tl.full(tmp165.shape, 0.0, tmp165.dtype)
    tmp167 = tl.where(tmp157, tmp165, tmp166)
    tmp168 = tl.load(in_ptr0 + (192 + x2), tmp140 & xmask, other=0.0)
    tmp169 = tl.where(tmp7, tmp167, tmp168)
    tmp170 = tl.where(tmp14, tmp156, tmp169)
    tmp171 = tl.full(tmp170.shape, 0.0, tmp170.dtype)
    tmp172 = tl.where(tmp140, tmp170, tmp171)
    tmp173 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp141 & xmask, other=0.0)
    tmp174 = tmp153 + tmp173
    tmp175 = tl.full(tmp174.shape, 0.0, tmp174.dtype)
    tmp176 = tl.where(tmp141, tmp174, tmp175)
    tmp177 = tl.where(tmp14, tmp176, tmp168)
    tmp178 = tl.full(tmp177.shape, 0.0, tmp177.dtype)
    tmp179 = tl.where(tmp140, tmp177, tmp178)
    tmp180 = tl.load(in_ptr0 + (192 + x2), tmp139 & xmask, other=0.0)
    tmp181 = tl.where(tmp7, tmp179, tmp180)
    tmp182 = tl.where(tmp7, tmp172, tmp181)
    tmp183 = tl.load(in_ptr1 + (216 + x0 + 4 * x1), tmp139 & xmask, other=0.0)
    tmp184 = tmp182 + tmp183
    tmp185 = tl.full(tmp184.shape, 0.0, tmp184.dtype)
    tmp186 = tl.where(tmp139, tmp184, tmp185)
    tmp187 = tmp7 & tmp7
    tmp188 = tmp14 & tmp187
    tmp189 = tmp7 & tmp188
    tmp190 = tmp14 & tmp189
    tmp191 = tl.load(in_ptr0 + (192 + x2), tmp190 & xmask, other=0.0)
    tmp192 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp190 & xmask, other=0.0)
    tmp193 = tmp191 + tmp192
    tmp194 = tl.full(tmp193.shape, 0.0, tmp193.dtype)
    tmp195 = tl.where(tmp190, tmp193, tmp194)
    tmp196 = tl.load(in_ptr0 + (192 + x2), tmp189 & xmask, other=0.0)
    tmp197 = tl.where(tmp14, tmp195, tmp196)
    tmp198 = tl.full(tmp197.shape, 0.0, tmp197.dtype)
    tmp199 = tl.where(tmp189, tmp197, tmp198)
    tmp200 = tl.load(in_ptr0 + (192 + x2), tmp188 & xmask, other=0.0)
    tmp201 = tl.where(tmp7, tmp199, tmp200)
    tmp202 = tl.full(tmp201.shape, 0.0, tmp201.dtype)
    tmp203 = tl.where(tmp188, tmp201, tmp202)
    tmp204 = tmp7 & tmp187
    tmp205 = tmp14 & tmp204
    tmp206 = tl.load(in_ptr0 + (192 + x2), tmp205 & xmask, other=0.0)
    tmp207 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp205 & xmask, other=0.0)
    tmp208 = tmp206 + tmp207
    tmp209 = tl.full(tmp208.shape, 0.0, tmp208.dtype)
    tmp210 = tl.where(tmp205, tmp208, tmp209)
    tmp211 = tl.load(in_ptr0 + (192 + x2), tmp204 & xmask, other=0.0)
    tmp212 = tl.where(tmp14, tmp210, tmp211)
    tmp213 = tl.full(tmp212.shape, 0.0, tmp212.dtype)
    tmp214 = tl.where(tmp204, tmp212, tmp213)
    tmp215 = tl.load(in_ptr0 + (192 + x2), tmp187 & xmask, other=0.0)
    tmp216 = tl.where(tmp7, tmp214, tmp215)
    tmp217 = tl.where(tmp14, tmp203, tmp216)
    tmp218 = tl.full(tmp217.shape, 0.0, tmp217.dtype)
    tmp219 = tl.where(tmp187, tmp217, tmp218)
    tmp220 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp188 & xmask, other=0.0)
    tmp221 = tmp200 + tmp220
    tmp222 = tl.full(tmp221.shape, 0.0, tmp221.dtype)
    tmp223 = tl.where(tmp188, tmp221, tmp222)
    tmp224 = tl.where(tmp14, tmp223, tmp215)
    tmp225 = tl.full(tmp224.shape, 0.0, tmp224.dtype)
    tmp226 = tl.where(tmp187, tmp224, tmp225)
    tmp227 = tl.load(in_ptr0 + (192 + x2), tmp7 & xmask, other=0.0)
    tmp228 = tl.where(tmp7, tmp226, tmp227)
    tmp229 = tl.where(tmp7, tmp219, tmp228)
    tmp230 = tl.where(tmp5, tmp186, tmp229)
    tmp231 = tl.full(tmp230.shape, 0.0, tmp230.dtype)
    tmp232 = tl.where(tmp7, tmp230, tmp231)
    tmp233 = tmp14 & tmp7
    tmp234 = tmp7 & tmp233
    tmp235 = tmp14 & tmp234
    tmp236 = tl.load(in_ptr0 + (192 + x2), tmp235 & xmask, other=0.0)
    tmp237 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp235 & xmask, other=0.0)
    tmp238 = tmp236 + tmp237
    tmp239 = tl.full(tmp238.shape, 0.0, tmp238.dtype)
    tmp240 = tl.where(tmp235, tmp238, tmp239)
    tmp241 = tl.load(in_ptr0 + (192 + x2), tmp234 & xmask, other=0.0)
    tmp242 = tl.where(tmp14, tmp240, tmp241)
    tmp243 = tl.full(tmp242.shape, 0.0, tmp242.dtype)
    tmp244 = tl.where(tmp234, tmp242, tmp243)
    tmp245 = tl.load(in_ptr0 + (192 + x2), tmp233 & xmask, other=0.0)
    tmp246 = tl.where(tmp7, tmp244, tmp245)
    tmp247 = tl.full(tmp246.shape, 0.0, tmp246.dtype)
    tmp248 = tl.where(tmp233, tmp246, tmp247)
    tmp249 = tl.where(tmp14, tmp248, tmp228)
    tmp250 = tl.full(tmp249.shape, 0.0, tmp249.dtype)
    tmp251 = tl.where(tmp7, tmp249, tmp250)
    tmp252 = tl.load(in_ptr1 + (204 + x0 + 4 * x1), tmp233 & xmask, other=0.0)
    tmp253 = tmp245 + tmp252
    tmp254 = tl.full(tmp253.shape, 0.0, tmp253.dtype)
    tmp255 = tl.where(tmp233, tmp253, tmp254)
    tmp256 = tl.where(tmp14, tmp255, tmp227)
    tmp257 = tl.full(tmp256.shape, 0.0, tmp256.dtype)
    tmp258 = tl.where(tmp7, tmp256, tmp257)
    tmp260 = tl.where(tmp7, tmp258, tmp259)
    tmp261 = tl.where(tmp7, tmp251, tmp260)
    tmp262 = tl.where(tmp7, tmp232, tmp261)
    tmp263 = tl.where(tmp5, tmp138, tmp262)
    tl.store(out_ptr0 + x2, tmp263, xmask)


@triton.jit
def triton_poi_fused_add_10(in_out_ptr0, in_ptr0, in_ptr1, xnumel, XBLOCK:
    tl.constexpr):
    xnumel = 256
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x1 = xindex // 16
    x2 = xindex
    x0 = xindex % 16
    tmp133 = tl.load(in_out_ptr0 + x2, xmask)
    tmp0 = x1
    tmp1 = tl.full([1], 12, tl.int64)
    tmp2 = tmp0 >= tmp1
    tmp3 = tl.load(in_ptr0 + (-192 + x2), tmp2 & xmask, other=0.0)
    tmp4 = x0
    tmp5 = tl.full([1], 8, tl.int64)
    tmp6 = tmp4 >= tmp5
    tmp7 = tmp4 < tmp1
    tmp8 = tmp6 & tmp7
    tmp9 = tmp8 & tmp2
    tmp10 = tmp2 & tmp9
    tmp11 = tl.full([1], 4, tl.int64)
    tmp12 = tmp4 >= tmp11
    tmp13 = tmp4 < tmp5
    tmp14 = tmp12 & tmp13
    tmp15 = tmp14 & tmp10
    tmp16 = tmp2 & tmp15
    tmp17 = tmp14 & tmp16
    tmp18 = tl.load(in_out_ptr0 + x2, tmp17 & xmask, other=0.0)
    tmp19 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp17 & xmask, other=0.0)
    tmp20 = tmp18 + tmp19
    tmp21 = tl.full(tmp20.shape, 0.0, tmp20.dtype)
    tmp22 = tl.where(tmp17, tmp20, tmp21)
    tmp23 = tl.load(in_out_ptr0 + x2, tmp16 & xmask, other=0.0)
    tmp24 = tl.where(tmp14, tmp22, tmp23)
    tmp25 = tl.full(tmp24.shape, 0.0, tmp24.dtype)
    tmp26 = tl.where(tmp16, tmp24, tmp25)
    tmp27 = tl.load(in_out_ptr0 + x2, tmp15 & xmask, other=0.0)
    tmp28 = tl.where(tmp2, tmp26, tmp27)
    tmp29 = tl.full(tmp28.shape, 0.0, tmp28.dtype)
    tmp30 = tl.where(tmp15, tmp28, tmp29)
    tmp31 = tmp2 & tmp10
    tmp32 = tmp14 & tmp31
    tmp33 = tl.load(in_out_ptr0 + x2, tmp32 & xmask, other=0.0)
    tmp34 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp32 & xmask, other=0.0)
    tmp35 = tmp33 + tmp34
    tmp36 = tl.full(tmp35.shape, 0.0, tmp35.dtype)
    tmp37 = tl.where(tmp32, tmp35, tmp36)
    tmp38 = tl.load(in_out_ptr0 + x2, tmp31 & xmask, other=0.0)
    tmp39 = tl.where(tmp14, tmp37, tmp38)
    tmp40 = tl.full(tmp39.shape, 0.0, tmp39.dtype)
    tmp41 = tl.where(tmp31, tmp39, tmp40)
    tmp42 = tl.load(in_out_ptr0 + x2, tmp10 & xmask, other=0.0)
    tmp43 = tl.where(tmp2, tmp41, tmp42)
    tmp44 = tl.where(tmp14, tmp30, tmp43)
    tmp45 = tl.full(tmp44.shape, 0.0, tmp44.dtype)
    tmp46 = tl.where(tmp10, tmp44, tmp45)
    tmp47 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp15 & xmask, other=0.0)
    tmp48 = tmp27 + tmp47
    tmp49 = tl.full(tmp48.shape, 0.0, tmp48.dtype)
    tmp50 = tl.where(tmp15, tmp48, tmp49)
    tmp51 = tl.where(tmp14, tmp50, tmp42)
    tmp52 = tl.full(tmp51.shape, 0.0, tmp51.dtype)
    tmp53 = tl.where(tmp10, tmp51, tmp52)
    tmp54 = tl.load(in_out_ptr0 + x2, tmp9 & xmask, other=0.0)
    tmp55 = tl.where(tmp2, tmp53, tmp54)
    tmp56 = tl.where(tmp2, tmp46, tmp55)
    tmp57 = tl.load(in_ptr1 + (168 + x0 + 4 * x1), tmp9 & xmask, other=0.0)
    tmp58 = tmp56 + tmp57
    tmp59 = tl.full(tmp58.shape, 0.0, tmp58.dtype)
    tmp60 = tl.where(tmp9, tmp58, tmp59)
    tmp61 = tmp2 & tmp2
    tmp62 = tmp14 & tmp61
    tmp63 = tmp2 & tmp62
    tmp64 = tmp14 & tmp63
    tmp65 = tl.load(in_out_ptr0 + x2, tmp64 & xmask, other=0.0)
    tmp66 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp64 & xmask, other=0.0)
    tmp67 = tmp65 + tmp66
    tmp68 = tl.full(tmp67.shape, 0.0, tmp67.dtype)
    tmp69 = tl.where(tmp64, tmp67, tmp68)
    tmp70 = tl.load(in_out_ptr0 + x2, tmp63 & xmask, other=0.0)
    tmp71 = tl.where(tmp14, tmp69, tmp70)
    tmp72 = tl.full(tmp71.shape, 0.0, tmp71.dtype)
    tmp73 = tl.where(tmp63, tmp71, tmp72)
    tmp74 = tl.load(in_out_ptr0 + x2, tmp62 & xmask, other=0.0)
    tmp75 = tl.where(tmp2, tmp73, tmp74)
    tmp76 = tl.full(tmp75.shape, 0.0, tmp75.dtype)
    tmp77 = tl.where(tmp62, tmp75, tmp76)
    tmp78 = tmp2 & tmp61
    tmp79 = tmp14 & tmp78
    tmp80 = tl.load(in_out_ptr0 + x2, tmp79 & xmask, other=0.0)
    tmp81 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp79 & xmask, other=0.0)
    tmp82 = tmp80 + tmp81
    tmp83 = tl.full(tmp82.shape, 0.0, tmp82.dtype)
    tmp84 = tl.where(tmp79, tmp82, tmp83)
    tmp85 = tl.load(in_out_ptr0 + x2, tmp78 & xmask, other=0.0)
    tmp86 = tl.where(tmp14, tmp84, tmp85)
    tmp87 = tl.full(tmp86.shape, 0.0, tmp86.dtype)
    tmp88 = tl.where(tmp78, tmp86, tmp87)
    tmp89 = tl.load(in_out_ptr0 + x2, tmp61 & xmask, other=0.0)
    tmp90 = tl.where(tmp2, tmp88, tmp89)
    tmp91 = tl.where(tmp14, tmp77, tmp90)
    tmp92 = tl.full(tmp91.shape, 0.0, tmp91.dtype)
    tmp93 = tl.where(tmp61, tmp91, tmp92)
    tmp94 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp62 & xmask, other=0.0)
    tmp95 = tmp74 + tmp94
    tmp96 = tl.full(tmp95.shape, 0.0, tmp95.dtype)
    tmp97 = tl.where(tmp62, tmp95, tmp96)
    tmp98 = tl.where(tmp14, tmp97, tmp89)
    tmp99 = tl.full(tmp98.shape, 0.0, tmp98.dtype)
    tmp100 = tl.where(tmp61, tmp98, tmp99)
    tmp101 = tl.load(in_out_ptr0 + x2, tmp2 & xmask, other=0.0)
    tmp102 = tl.where(tmp2, tmp100, tmp101)
    tmp103 = tl.where(tmp2, tmp93, tmp102)
    tmp104 = tl.where(tmp8, tmp60, tmp103)
    tmp105 = tl.full(tmp104.shape, 0.0, tmp104.dtype)
    tmp106 = tl.where(tmp2, tmp104, tmp105)
    tmp107 = tmp14 & tmp2
    tmp108 = tmp2 & tmp107
    tmp109 = tmp14 & tmp108
    tmp110 = tl.load(in_out_ptr0 + x2, tmp109 & xmask, other=0.0)
    tmp111 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp109 & xmask, other=0.0)
    tmp112 = tmp110 + tmp111
    tmp113 = tl.full(tmp112.shape, 0.0, tmp112.dtype)
    tmp114 = tl.where(tmp109, tmp112, tmp113)
    tmp115 = tl.load(in_out_ptr0 + x2, tmp108 & xmask, other=0.0)
    tmp116 = tl.where(tmp14, tmp114, tmp115)
    tmp117 = tl.full(tmp116.shape, 0.0, tmp116.dtype)
    tmp118 = tl.where(tmp108, tmp116, tmp117)
    tmp119 = tl.load(in_out_ptr0 + x2, tmp107 & xmask, other=0.0)
    tmp120 = tl.where(tmp2, tmp118, tmp119)
    tmp121 = tl.full(tmp120.shape, 0.0, tmp120.dtype)
    tmp122 = tl.where(tmp107, tmp120, tmp121)
    tmp123 = tl.where(tmp14, tmp122, tmp102)
    tmp124 = tl.full(tmp123.shape, 0.0, tmp123.dtype)
    tmp125 = tl.where(tmp2, tmp123, tmp124)
    tmp126 = tl.load(in_ptr1 + (156 + x0 + 4 * x1), tmp107 & xmask, other=0.0)
    tmp127 = tmp119 + tmp126
    tmp128 = tl.full(tmp127.shape, 0.0, tmp127.dtype)
    tmp129 = tl.where(tmp107, tmp127, tmp128)
    tmp130 = tl.where(tmp14, tmp129, tmp101)
    tmp131 = tl.full(tmp130.shape, 0.0, tmp130.dtype)
    tmp132 = tl.where(tmp2, tmp130, tmp131)
    tmp134 = tl.where(tmp2, tmp132, tmp133)
    tmp135 = tl.where(tmp2, tmp125, tmp134)
    tmp136 = tl.where(tmp2, tmp106, tmp135)
    tmp137 = tl.where(tmp2, tmp3, tmp136)
    tmp138 = tmp4 >= tmp1
    tmp139 = tmp138 & tmp2
    tmp140 = tmp2 & tmp139
    tmp141 = tmp138 & tmp140
    tmp142 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp141 & xmask, other=0.0)
    tmp143 = tmp137 + tmp142
    tmp144 = tl.full(tmp143.shape, 0.0, tmp143.dtype)
    tmp145 = tl.where(tmp141, tmp143, tmp144)
    tmp146 = tl.where(tmp138, tmp145, tmp137)
    tmp147 = tl.full(tmp146.shape, 0.0, tmp146.dtype)
    tmp148 = tl.where(tmp140, tmp146, tmp147)
    tmp149 = tl.where(tmp2, tmp148, tmp137)
    tmp150 = tl.full(tmp149.shape, 0.0, tmp149.dtype)
    tmp151 = tl.where(tmp139, tmp149, tmp150)
    tmp152 = tmp138 & tmp61
    tmp153 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp152 & xmask, other=0.0)
    tmp154 = tmp137 + tmp153
    tmp155 = tl.full(tmp154.shape, 0.0, tmp154.dtype)
    tmp156 = tl.where(tmp152, tmp154, tmp155)
    tmp157 = tl.where(tmp138, tmp156, tmp137)
    tmp158 = tl.full(tmp157.shape, 0.0, tmp157.dtype)
    tmp159 = tl.where(tmp61, tmp157, tmp158)
    tmp160 = tl.where(tmp2, tmp159, tmp137)
    tmp161 = tl.where(tmp138, tmp151, tmp160)
    tmp162 = tl.full(tmp161.shape, 0.0, tmp161.dtype)
    tmp163 = tl.where(tmp2, tmp161, tmp162)
    tmp164 = tl.load(in_ptr1 + (180 + x0 + 4 * x1), tmp139 & xmask, other=0.0)
    tmp165 = tmp137 + tmp164
    tmp166 = tl.full(tmp165.shape, 0.0, tmp165.dtype)
    tmp167 = tl.where(tmp139, tmp165, tmp166)
    tmp168 = tl.where(tmp138, tmp167, tmp137)
    tmp169 = tl.full(tmp168.shape, 0.0, tmp168.dtype)
    tmp170 = tl.where(tmp2, tmp168, tmp169)
    tmp171 = tl.where(tmp2, tmp170, tmp137)
    tmp172 = tl.where(tmp2, tmp163, tmp171)
    tl.store(in_out_ptr0 + x2, tmp172, xmask)


def call(args):
    arg0_1, = args
    args.clear()
    assert_size_stride(arg0_1, (4, 4, 4, 4), (64, 16, 4, 1))
    with torch.cuda._DeviceGuard(0):
        torch.cuda.set_device(0)
        buf0 = empty_strided_cuda((4, 4), (4, 1), torch.float32)
        get_raw_stream(0)
        triton_poi_fused_add_0[grid(16)](arg0_1, buf0, 16, XBLOCK=16,
            num_warps=1, num_stages=1)
        buf1 = empty_strided_cuda((4, 16), (16, 1), torch.float32)
        triton_poi_fused_1[grid(64)](buf0, arg0_1, buf1, 64, XBLOCK=64,
            num_warps=1, num_stages=1)
        del buf0
        buf2 = empty_strided_cuda((16, 16), (16, 1), torch.float32)
        buf3 = buf2
        del buf2
        triton_poi_fused_add_zeros_2[grid(256)](buf3, buf1, arg0_1, 256,
            XBLOCK=128, num_warps=4, num_stages=1)
        buf4 = buf1
        del buf1
        buf5 = empty_strided_cuda((4, 16), (16, 1), torch.float32)
        triton_poi_fused_add_3[grid(64)](buf3, arg0_1, buf4, buf5, 64,
            XBLOCK=64, num_warps=1, num_stages=1)
        buf6 = buf3
        del buf3
        triton_poi_fused_add_4[grid(256)](buf6, buf5, buf4, arg0_1, 256,
            XBLOCK=256, num_warps=4, num_stages=1)
        buf7 = buf5
        del buf5
        triton_poi_fused_5[grid(64)](buf6, arg0_1, buf7, 64, XBLOCK=64,
            num_warps=1, num_stages=1)
        buf8 = buf6
        del buf6
        buf9 = buf8
        del buf8
        triton_poi_fused_add_6[grid(256)](buf9, buf7, arg0_1, 256, XBLOCK=
            128, num_warps=4, num_stages=1)
        buf10 = buf7
        del buf7
        buf11 = buf4
        del buf4
        triton_poi_fused_add_7[grid(64)](buf9, arg0_1, buf10, buf11, 64,
            XBLOCK=64, num_warps=1, num_stages=1)
        buf12 = buf9
        del buf9
        triton_poi_fused_add_8[grid(256)](buf12, buf11, buf10, arg0_1, 256,
            XBLOCK=128, num_warps=4, num_stages=1)
        del buf10
        buf13 = buf11
        del buf11
        triton_poi_fused_9[grid(64)](buf12, arg0_1, buf13, 64, XBLOCK=64,
            num_warps=1, num_stages=1)
        buf14 = buf12
        del buf12
        buf15 = buf14
        del buf14
        triton_poi_fused_add_10[grid(256)](buf15, buf13, arg0_1, 256,
            XBLOCK=128, num_warps=4, num_stages=1)
        del arg0_1
        del buf13
    return buf15,


class Truncation2DNew(torch.nn.Module):
    """
    A module merging the last two dimensions, merging coarse scale in grid
    of dimensions -4, -3 and finer resolution in dimensions -2, -1 to
    one fine grained grid with two dimensions less.
    """

    def __init__(self):
        super().__init__()

    def forward(self, input_0):
        arg0_1 = input_0
        output = call([arg0_1])
        return output[0]


Measured latency_ms: 0.014049