; LLVM IR from upupming/algorithm :: acwing/算法竞赛进阶指南/0x29-总结与练习/185. 玛雅游戏.ll (Z4moveiii)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@cnt = external dso_local global [11 x i32], align 16
@g = external dso_local global [5 x [7 x i32]], align 16
@st = external dso_local global [5 x [7 x i32]], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z4moveiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !5
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %19
  %21 = load i32, ptr %5, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [7 x i32], ptr %20, i64 0, i64 %22
  %24 = load i32, ptr %6, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %25
  %27 = load i32, ptr %5, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [7 x i32], ptr %26, i64 0, i64 %28
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %29) #4
  br label %30

30:                                               ; preds = %304, %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  store i8 1, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %81, %30
  %32 = load i32, ptr %8, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 5
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %84

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %65, %35
  %37 = load i32, ptr %11, align 4, !tbaa !5
  %38 = icmp slt i32 %37, 7
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  store i32 7, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %68

40:                                               ; preds = %36
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %42
  %44 = load i32, ptr %11, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [7 x i32], ptr %43, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %64

49:                                               ; preds = %40
  %50 = load i32, ptr %8, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %51
  %53 = load i32, ptr %11, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [7 x i32], ptr %52, i64 0, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = load i32, ptr %8, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %58
  %60 = load i32, ptr %10, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %10, align 4, !tbaa !5
  %62 = sext i32 %60 to i64
  %63 = getelementptr inbounds [7 x i32], ptr %59, i64 0, i64 %62
  store i32 %56, ptr %63, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %49, %40
  br label %65

65:                                               ; preds = %64
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %11, align 4, !tbaa !5
  br label %36, !llvm.loop !11

68:                                               ; preds = %39
  br label %69

69:                                               ; preds = %72, %68
  %70 = load i32, ptr %10, align 4, !tbaa !5
  %71 = icmp slt i32 %70, 7
  br i1 %71, label %72, label %80

72:                                               ; preds = %69
  %73 = load i32, ptr %8, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %74
  %76 = load i32, ptr %10, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %10, align 4, !tbaa !5
  %78 = sext i32 %76 to i64
  %79 = getelementptr inbounds [7 x i32], ptr %75, i64 0, i64 %78
  store i32 0, ptr %79, align 4, !tbaa !5
  br label %69, !llvm.loop !13

80:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %81

81:                                               ; preds = %80
  %82 = load i32, ptr %8, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %8, align 4, !tbaa !5
  br label %31, !llvm.loop !14

84:                                               ; preds = %34
  call void @llvm.memset.p0.i64(ptr align 16 @st, i8 0, i64 140, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %85

85:                                               ; preds = %247, %84
  %86 = load i32, ptr %12, align 4, !tbaa !5
  %87 = icmp slt i32 %86, 5
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  store i32 12, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %250

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %243, %89
  %91 = load i32, ptr %13, align 4, !tbaa !5
  %92 = icmp slt i32 %91, 7
  br i1 %92, label %94, label %93

93:                                               ; preds = %90
  store i32 15, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %246

94:                                               ; preds = %90
  %95 = load i32, ptr %12, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %96
  %98 = load i32, ptr %13, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [7 x i32], ptr %97, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %242

103:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %104 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %104, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %105 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %105, ptr %15, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %129, %103
  %107 = load i32, ptr %14, align 4, !tbaa !5
  %108 = sub nsw i32 %107, 1
  %109 = icmp sge i32 %108, 0
  br i1 %109, label %110, label %127

110:                                              ; preds = %106
  %111 = load i32, ptr %14, align 4, !tbaa !5
  %112 = sub nsw i32 %111, 1
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %113
  %115 = load i32, ptr %13, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [7 x i32], ptr %114, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = load i32, ptr %12, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %120
  %122 = load i32, ptr %13, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [7 x i32], ptr %121, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = icmp eq i32 %118, %125
  br label %127

127:                                              ; preds = %110, %106
  %128 = phi i1 [ false, %106 ], [ %126, %110 ]
  br i1 %128, label %129, label %132

129:                                              ; preds = %127
  %130 = load i32, ptr %14, align 4, !tbaa !5
  %131 = add nsw i32 %130, -1
  store i32 %131, ptr %14, align 4, !tbaa !5
  br label %106, !llvm.loop !15

132:                                              ; preds = %127
  br label %133

133:                                              ; preds = %156, %132
  %134 = load i32, ptr %15, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  %136 = icmp slt i32 %135, 5
  br i1 %136, label %137, label %154

137:                                              ; preds = %133
  %138 = load i32, ptr %15, align 4, !tbaa !5
  %139 = add nsw i32 %138, 1
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %140
  %142 = load i32, ptr %13, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [7 x i32], ptr %141, i64 0, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = load i32, ptr %12, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %147
  %149 = load i32, ptr %13, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [7 x i32], ptr %148, i64 0, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = icmp eq i32 %145, %152
  br label %154

154:                                              ; preds = %137, %133
  %155 = phi i1 [ false, %133 ], [ %153, %137 ]
  br i1 %155, label %156, label %159

156:                                              ; preds = %154
  %157 = load i32, ptr %15, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %15, align 4, !tbaa !5
  br label %133, !llvm.loop !16

159:                                              ; preds = %154
  %160 = load i32, ptr %15, align 4, !tbaa !5
  %161 = load i32, ptr %14, align 4, !tbaa !5
  %162 = sub nsw i32 %160, %161
  %163 = add nsw i32 %162, 1
  %164 = icmp sge i32 %163, 3
  br i1 %164, label %165, label %172

165:                                              ; preds = %159
  %166 = load i32, ptr %12, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %167
  %169 = load i32, ptr %13, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [7 x i32], ptr %168, i64 0, i64 %170
  store i32 1, ptr %171, align 4, !tbaa !5
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %241

172:                                              ; preds = %159
  %173 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %173, ptr %15, align 4, !tbaa !5
  store i32 %173, ptr %14, align 4, !tbaa !5
  br label %174

174:                                              ; preds = %197, %172
  %175 = load i32, ptr %14, align 4, !tbaa !5
  %176 = sub nsw i32 %175, 1
  %177 = icmp sge i32 %176, 0
  br i1 %177, label %178, label %195

178:                                              ; preds = %174
  %179 = load i32, ptr %12, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %180
  %182 = load i32, ptr %14, align 4, !tbaa !5
  %183 = sub nsw i32 %182, 1
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [7 x i32], ptr %181, i64 0, i64 %184
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = load i32, ptr %12, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %188
  %190 = load i32, ptr %13, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [7 x i32], ptr %189, i64 0, i64 %191
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = icmp eq i32 %186, %193
  br label %195

195:                                              ; preds = %178, %174
  %196 = phi i1 [ false, %174 ], [ %194, %178 ]
  br i1 %196, label %197, label %200

197:                                              ; preds = %195
  %198 = load i32, ptr %14, align 4, !tbaa !5
  %199 = add nsw i32 %198, -1
  store i32 %199, ptr %14, align 4, !tbaa !5
  br label %174, !llvm.loop !17

200:                                              ; preds = %195
  br label %201

201:                                              ; preds = %224, %200
  %202 = load i32, ptr %15, align 4, !tbaa !5
  %203 = add nsw i32 %202, 1
  %204 = icmp slt i32 %203, 7
  br i1 %204, label %205, label %222

205:                                              ; preds = %201
  %206 = load i32, ptr %12, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %207
  %209 = load i32, ptr %15, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [7 x i32], ptr %208, i64 0, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = load i32, ptr %12, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %215
  %217 = load i32, ptr %13, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [7 x i32], ptr %216, i64 0, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = icmp eq i32 %213, %220
  br label %222

222:                                              ; preds = %205, %201
  %223 = phi i1 [ false, %201 ], [ %221, %205 ]
  br i1 %223, label %224, label %227

224:                                              ; preds = %222
  %225 = load i32, ptr %15, align 4, !tbaa !5
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %15, align 4, !tbaa !5
  br label %201, !llvm.loop !18

227:                                              ; preds = %222
  %228 = load i32, ptr %15, align 4, !tbaa !5
  %229 = load i32, ptr %14, align 4, !tbaa !5
  %230 = sub nsw i32 %228, %229
  %231 = add nsw i32 %230, 1
  %232 = icmp sge i32 %231, 3
  br i1 %232, label %233, label %240

233:                                              ; preds = %227
  %234 = load i32, ptr %12, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %235
  %237 = load i32, ptr %13, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [7 x i32], ptr %236, i64 0, i64 %238
  store i32 1, ptr %239, align 4, !tbaa !5
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %240

240:                                              ; preds = %233, %227
  br label %241

241:                                              ; preds = %240, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %242

242:                                              ; preds = %241, %94
  br label %243

243:                                              ; preds = %242
  %244 = load i32, ptr %13, align 4, !tbaa !5
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %13, align 4, !tbaa !5
  br label %90, !llvm.loop !19

246:                                              ; preds = %93
  br label %247

247:                                              ; preds = %246
  %248 = load i32, ptr %12, align 4, !tbaa !5
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %12, align 4, !tbaa !5
  br label %85, !llvm.loop !20

250:                                              ; preds = %88
  %251 = load i8, ptr %7, align 1, !tbaa !9, !range !21, !noundef !22
  %252 = trunc i8 %251 to i1
  br i1 %252, label %253, label %254

253:                                              ; preds = %250
  store i32 3, ptr %9, align 4
  br label %302

254:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %255

255:                                              ; preds = %298, %254
  %256 = load i32, ptr %16, align 4, !tbaa !5
  %257 = icmp slt i32 %256, 5
  br i1 %257, label %259, label %258

258:                                              ; preds = %255
  store i32 26, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %301

259:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %260

260:                                              ; preds = %294, %259
  %261 = load i32, ptr %17, align 4, !tbaa !5
  %262 = icmp slt i32 %261, 7
  br i1 %262, label %264, label %263

263:                                              ; preds = %260
  store i32 29, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %297

264:                                              ; preds = %260
  %265 = load i32, ptr %16, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %266
  %268 = load i32, ptr %17, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [7 x i32], ptr %267, i64 0, i64 %269
  %271 = load i32, ptr %270, align 4, !tbaa !5
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %293

273:                                              ; preds = %264
  %274 = load i32, ptr @cnt, align 16, !tbaa !5
  %275 = add nsw i32 %274, -1
  store i32 %275, ptr @cnt, align 16, !tbaa !5
  %276 = load i32, ptr %16, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %277
  %279 = load i32, ptr %17, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds [7 x i32], ptr %278, i64 0, i64 %280
  %282 = load i32, ptr %281, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %283
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = add nsw i32 %285, -1
  store i32 %286, ptr %284, align 4, !tbaa !5
  %287 = load i32, ptr %16, align 4, !tbaa !5
  %288 = sext i32 %287 to i64
  %289 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %288
  %290 = load i32, ptr %17, align 4, !tbaa !5
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [7 x i32], ptr %289, i64 0, i64 %291
  store i32 0, ptr %292, align 4, !tbaa !5
  br label %293

293:                                              ; preds = %273, %264
  br label %294

294:                                              ; preds = %293
  %295 = load i32, ptr %17, align 4, !tbaa !5
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %17, align 4, !tbaa !5
  br label %260, !llvm.loop !23

297:                                              ; preds = %263
  br label %298

298:                                              ; preds = %297
  %299 = load i32, ptr %16, align 4, !tbaa !5
  %300 = add nsw i32 %299, 1
  store i32 %300, ptr %16, align 4, !tbaa !5
  br label %255, !llvm.loop !24

301:                                              ; preds = %258
  store i32 0, ptr %9, align 4
  br label %302

302:                                              ; preds = %301, %253
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  %303 = load i32, ptr %9, align 4
  switch i32 %303, label %306 [
    i32 0, label %304
    i32 3, label %305
  ]

304:                                              ; preds = %302
  br label %30, !llvm.loop !25

305:                                              ; preds = %302
  ret void

306:                                              ; preds = %302
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@cnt = external dso_local local_unnamed_addr global [11 x i32], align 16
@g = external dso_local global [5 x [7 x i32]], align 16
@st = external dso_local local_unnamed_addr global [5 x [7 x i32]], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z4moveiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = sext i32 %0 to i64
  %5 = sext i32 %1 to i64
  %6 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %4, i64 %5
  %7 = sext i32 %2 to i64
  %8 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %7, i64 %5
  tail call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %8) #3
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %1179
  br label %.loopexit, !llvm.loop !5

.loopexit:                                        ; preds = %.loopexit.loopexit, %3
  %9 = load i32, ptr @g, align 16, !tbaa !7
  %.not96 = icmp ne i32 %9, 0
  %spec.select = zext i1 %.not96 to i32
  %10 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %.not96.1 = icmp eq i32 %10, 0
  br i1 %.not96.1, label %21, label %17

.lr.ph:                                           ; preds = %45, %.preheader102
  %.184.6147 = phi i32 [ %47, %.preheader102 ], [ %.184.5, %45 ]
  %11 = zext nneg i32 %.184.6147 to i64
  %12 = shl nuw nsw i64 %11, 2
  %scevgep116 = getelementptr i8, ptr @g, i64 %12
  %13 = shl i32 %.184.6147, 2
  %14 = sub i32 24, %13
  %15 = zext i32 %14 to i64
  %16 = add nuw nsw i64 %15, 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep116, i8 0, i64 %16, i1 false), !tbaa !7
  br label %._crit_edge

17:                                               ; preds = %.loopexit
  %18 = select i1 %.not96, i32 2, i32 1
  %19 = zext i1 %.not96 to i64
  %20 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 0, i64 %19
  store i32 %10, ptr %20, align 4, !tbaa !7
  br label %21

21:                                               ; preds = %17, %.loopexit
  %.184.1 = phi i32 [ %18, %17 ], [ %spec.select, %.loopexit ]
  %22 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %.not96.2 = icmp eq i32 %22, 0
  br i1 %.not96.2, label %27, label %23

23:                                               ; preds = %21
  %24 = add nuw nsw i32 %.184.1, 1
  %25 = zext nneg i32 %.184.1 to i64
  %26 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 0, i64 %25
  store i32 %22, ptr %26, align 4, !tbaa !7
  br label %27

27:                                               ; preds = %23, %21
  %.184.2 = phi i32 [ %24, %23 ], [ %.184.1, %21 ]
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %.not96.3 = icmp eq i32 %28, 0
  br i1 %.not96.3, label %33, label %29

29:                                               ; preds = %27
  %30 = add nuw nsw i32 %.184.2, 1
  %31 = zext nneg i32 %.184.2 to i64
  %32 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 0, i64 %31
  store i32 %28, ptr %32, align 4, !tbaa !7
  br label %33

33:                                               ; preds = %29, %27
  %.184.3 = phi i32 [ %30, %29 ], [ %.184.2, %27 ]
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %.not96.4 = icmp eq i32 %34, 0
  br i1 %.not96.4, label %39, label %35

35:                                               ; preds = %33
  %36 = add nuw nsw i32 %.184.3, 1
  %37 = zext nneg i32 %.184.3 to i64
  %38 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 0, i64 %37
  store i32 %34, ptr %38, align 4, !tbaa !7
  br label %39

39:                                               ; preds = %35, %33
  %.184.4 = phi i32 [ %36, %35 ], [ %.184.3, %33 ]
  %40 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %.not96.5 = icmp eq i32 %40, 0
  br i1 %.not96.5, label %45, label %41

41:                                               ; preds = %39
  %42 = add nuw nsw i32 %.184.4, 1
  %43 = zext nneg i32 %.184.4 to i64
  %44 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 0, i64 %43
  store i32 %40, ptr %44, align 4, !tbaa !7
  br label %45

45:                                               ; preds = %41, %39
  %.184.5 = phi i32 [ %42, %41 ], [ %.184.4, %39 ]
  %46 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %.not96.6 = icmp eq i32 %46, 0
  br i1 %.not96.6, label %.lr.ph, label %.preheader102

.preheader102:                                    ; preds = %45
  %47 = add nuw nsw i32 %.184.5, 1
  %48 = zext nneg i32 %.184.5 to i64
  %49 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 0, i64 %48
  store i32 %46, ptr %49, align 4, !tbaa !7
  %50 = icmp ult i32 %.184.5, 6
  br i1 %50, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader102
  %51 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %.not96.1119 = icmp ne i32 %51, 0
  %spec.select176 = zext i1 %.not96.1119 to i32
  %52 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %.not96.1.1 = icmp eq i32 %52, 0
  br i1 %.not96.1.1, label %57, label %53

53:                                               ; preds = %._crit_edge
  %54 = select i1 %.not96.1119, i32 2, i32 1
  %55 = zext i1 %.not96.1119 to i64
  %56 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 1, i64 %55
  store i32 %52, ptr %56, align 4, !tbaa !7
  br label %57

57:                                               ; preds = %53, %._crit_edge
  %.184.1.1 = phi i32 [ %54, %53 ], [ %spec.select176, %._crit_edge ]
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %.not96.2.1 = icmp eq i32 %58, 0
  br i1 %.not96.2.1, label %63, label %59

59:                                               ; preds = %57
  %60 = add nuw nsw i32 %.184.1.1, 1
  %61 = zext nneg i32 %.184.1.1 to i64
  %62 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 1, i64 %61
  store i32 %58, ptr %62, align 4, !tbaa !7
  br label %63

63:                                               ; preds = %59, %57
  %.184.2.1 = phi i32 [ %60, %59 ], [ %.184.1.1, %57 ]
  %64 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %.not96.3.1 = icmp eq i32 %64, 0
  br i1 %.not96.3.1, label %69, label %65

65:                                               ; preds = %63
  %66 = add nuw nsw i32 %.184.2.1, 1
  %67 = zext nneg i32 %.184.2.1 to i64
  %68 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 1, i64 %67
  store i32 %64, ptr %68, align 4, !tbaa !7
  br label %69

69:                                               ; preds = %65, %63
  %.184.3.1 = phi i32 [ %66, %65 ], [ %.184.2.1, %63 ]
  %70 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %.not96.4.1 = icmp eq i32 %70, 0
  br i1 %.not96.4.1, label %75, label %71

71:                                               ; preds = %69
  %72 = add nuw nsw i32 %.184.3.1, 1
  %73 = zext nneg i32 %.184.3.1 to i64
  %74 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 1, i64 %73
  store i32 %70, ptr %74, align 4, !tbaa !7
  br label %75

75:                                               ; preds = %71, %69
  %.184.4.1 = phi i32 [ %72, %71 ], [ %.184.3.1, %69 ]
  %76 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %.not96.5.1 = icmp eq i32 %76, 0
  br i1 %.not96.5.1, label %81, label %77

77:                                               ; preds = %75
  %78 = add nuw nsw i32 %.184.4.1, 1
  %79 = zext nneg i32 %.184.4.1 to i64
  %80 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 1, i64 %79
  store i32 %76, ptr %80, align 4, !tbaa !7
  br label %81

81:                                               ; preds = %77, %75
  %.184.5.1 = phi i32 [ %78, %77 ], [ %.184.4.1, %75 ]
  %82 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %.not96.6.1 = icmp eq i32 %82, 0
  br i1 %.not96.6.1, label %.lr.ph.1, label %.preheader102.1

.preheader102.1:                                  ; preds = %81
  %83 = add nuw nsw i32 %.184.5.1, 1
  %84 = zext nneg i32 %.184.5.1 to i64
  %85 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 1, i64 %84
  store i32 %82, ptr %85, align 4, !tbaa !7
  %86 = icmp ult i32 %.184.5.1, 6
  br i1 %86, label %.lr.ph.1, label %._crit_edge.1

.lr.ph.1:                                         ; preds = %81, %.preheader102.1
  %.184.6.1149 = phi i32 [ %83, %.preheader102.1 ], [ %.184.5.1, %81 ]
  %87 = zext nneg i32 %.184.6.1149 to i64
  %88 = shl nuw nsw i64 %87, 2
  %scevgep116.1 = getelementptr i8, ptr getelementptr inbounds (i8, ptr @g, i64 28), i64 %88
  %89 = shl i32 %.184.6.1149, 2
  %90 = sub i32 24, %89
  %91 = zext i32 %90 to i64
  %92 = add nuw nsw i64 %91, 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep116.1, i8 0, i64 %92, i1 false), !tbaa !7
  br label %._crit_edge.1

._crit_edge.1:                                    ; preds = %.lr.ph.1, %.preheader102.1
  %93 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %.not96.2121 = icmp ne i32 %93, 0
  %spec.select177 = zext i1 %.not96.2121 to i32
  %94 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %.not96.1.2 = icmp eq i32 %94, 0
  br i1 %.not96.1.2, label %99, label %95

95:                                               ; preds = %._crit_edge.1
  %96 = select i1 %.not96.2121, i32 2, i32 1
  %97 = zext i1 %.not96.2121 to i64
  %98 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 2, i64 %97
  store i32 %94, ptr %98, align 4, !tbaa !7
  br label %99

99:                                               ; preds = %95, %._crit_edge.1
  %.184.1.2 = phi i32 [ %96, %95 ], [ %spec.select177, %._crit_edge.1 ]
  %100 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %.not96.2.2 = icmp eq i32 %100, 0
  br i1 %.not96.2.2, label %105, label %101

101:                                              ; preds = %99
  %102 = add nuw nsw i32 %.184.1.2, 1
  %103 = zext nneg i32 %.184.1.2 to i64
  %104 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 2, i64 %103
  store i32 %100, ptr %104, align 4, !tbaa !7
  br label %105

105:                                              ; preds = %101, %99
  %.184.2.2 = phi i32 [ %102, %101 ], [ %.184.1.2, %99 ]
  %106 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %.not96.3.2 = icmp eq i32 %106, 0
  br i1 %.not96.3.2, label %111, label %107

107:                                              ; preds = %105
  %108 = add nuw nsw i32 %.184.2.2, 1
  %109 = zext nneg i32 %.184.2.2 to i64
  %110 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 2, i64 %109
  store i32 %106, ptr %110, align 4, !tbaa !7
  br label %111

111:                                              ; preds = %107, %105
  %.184.3.2 = phi i32 [ %108, %107 ], [ %.184.2.2, %105 ]
  %112 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %.not96.4.2 = icmp eq i32 %112, 0
  br i1 %.not96.4.2, label %117, label %113

113:                                              ; preds = %111
  %114 = add nuw nsw i32 %.184.3.2, 1
  %115 = zext nneg i32 %.184.3.2 to i64
  %116 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 2, i64 %115
  store i32 %112, ptr %116, align 4, !tbaa !7
  br label %117

117:                                              ; preds = %113, %111
  %.184.4.2 = phi i32 [ %114, %113 ], [ %.184.3.2, %111 ]
  %118 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %.not96.5.2 = icmp eq i32 %118, 0
  br i1 %.not96.5.2, label %123, label %119

119:                                              ; preds = %117
  %120 = add nuw nsw i32 %.184.4.2, 1
  %121 = zext nneg i32 %.184.4.2 to i64
  %122 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 2, i64 %121
  store i32 %118, ptr %122, align 4, !tbaa !7
  br label %123

123:                                              ; preds = %119, %117
  %.184.5.2 = phi i32 [ %120, %119 ], [ %.184.4.2, %117 ]
  %124 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %.not96.6.2 = icmp eq i32 %124, 0
  br i1 %.not96.6.2, label %.lr.ph.2, label %.preheader102.2

.preheader102.2:                                  ; preds = %123
  %125 = add nuw nsw i32 %.184.5.2, 1
  %126 = zext nneg i32 %.184.5.2 to i64
  %127 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 2, i64 %126
  store i32 %124, ptr %127, align 4, !tbaa !7
  %128 = icmp ult i32 %.184.5.2, 6
  br i1 %128, label %.lr.ph.2, label %._crit_edge.2

.lr.ph.2:                                         ; preds = %123, %.preheader102.2
  %.184.6.2151 = phi i32 [ %125, %.preheader102.2 ], [ %.184.5.2, %123 ]
  %129 = zext nneg i32 %.184.6.2151 to i64
  %130 = shl nuw nsw i64 %129, 2
  %scevgep116.2 = getelementptr i8, ptr getelementptr inbounds (i8, ptr @g, i64 56), i64 %130
  %131 = shl i32 %.184.6.2151, 2
  %132 = sub i32 24, %131
  %133 = zext i32 %132 to i64
  %134 = add nuw nsw i64 %133, 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep116.2, i8 0, i64 %134, i1 false), !tbaa !7
  br label %._crit_edge.2

._crit_edge.2:                                    ; preds = %.lr.ph.2, %.preheader102.2
  %135 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %.not96.3123 = icmp ne i32 %135, 0
  %spec.select178 = zext i1 %.not96.3123 to i32
  %136 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %.not96.1.3 = icmp eq i32 %136, 0
  br i1 %.not96.1.3, label %141, label %137

137:                                              ; preds = %._crit_edge.2
  %138 = select i1 %.not96.3123, i32 2, i32 1
  %139 = zext i1 %.not96.3123 to i64
  %140 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 3, i64 %139
  store i32 %136, ptr %140, align 4, !tbaa !7
  br label %141

141:                                              ; preds = %137, %._crit_edge.2
  %.184.1.3 = phi i32 [ %138, %137 ], [ %spec.select178, %._crit_edge.2 ]
  %142 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %.not96.2.3 = icmp eq i32 %142, 0
  br i1 %.not96.2.3, label %147, label %143

143:                                              ; preds = %141
  %144 = add nuw nsw i32 %.184.1.3, 1
  %145 = zext nneg i32 %.184.1.3 to i64
  %146 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 3, i64 %145
  store i32 %142, ptr %146, align 4, !tbaa !7
  br label %147

147:                                              ; preds = %143, %141
  %.184.2.3 = phi i32 [ %144, %143 ], [ %.184.1.3, %141 ]
  %148 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %.not96.3.3 = icmp eq i32 %148, 0
  br i1 %.not96.3.3, label %153, label %149

149:                                              ; preds = %147
  %150 = add nuw nsw i32 %.184.2.3, 1
  %151 = zext nneg i32 %.184.2.3 to i64
  %152 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 3, i64 %151
  store i32 %148, ptr %152, align 4, !tbaa !7
  br label %153

153:                                              ; preds = %149, %147
  %.184.3.3 = phi i32 [ %150, %149 ], [ %.184.2.3, %147 ]
  %154 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %.not96.4.3 = icmp eq i32 %154, 0
  br i1 %.not96.4.3, label %159, label %155

155:                                              ; preds = %153
  %156 = add nuw nsw i32 %.184.3.3, 1
  %157 = zext nneg i32 %.184.3.3 to i64
  %158 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 3, i64 %157
  store i32 %154, ptr %158, align 4, !tbaa !7
  br label %159

159:                                              ; preds = %155, %153
  %.184.4.3 = phi i32 [ %156, %155 ], [ %.184.3.3, %153 ]
  %160 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %.not96.5.3 = icmp eq i32 %160, 0
  br i1 %.not96.5.3, label %165, label %161

161:                                              ; preds = %159
  %162 = add nuw nsw i32 %.184.4.3, 1
  %163 = zext nneg i32 %.184.4.3 to i64
  %164 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 3, i64 %163
  store i32 %160, ptr %164, align 4, !tbaa !7
  br label %165

165:                                              ; preds = %161, %159
  %.184.5.3 = phi i32 [ %162, %161 ], [ %.184.4.3, %159 ]
  %166 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %.not96.6.3 = icmp eq i32 %166, 0
  br i1 %.not96.6.3, label %.lr.ph.3, label %.preheader102.3

.preheader102.3:                                  ; preds = %165
  %167 = add nuw nsw i32 %.184.5.3, 1
  %168 = zext nneg i32 %.184.5.3 to i64
  %169 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 3, i64 %168
  store i32 %166, ptr %169, align 4, !tbaa !7
  %170 = icmp ult i32 %.184.5.3, 6
  br i1 %170, label %.lr.ph.3, label %._crit_edge.3

.lr.ph.3:                                         ; preds = %165, %.preheader102.3
  %.184.6.3153 = phi i32 [ %167, %.preheader102.3 ], [ %.184.5.3, %165 ]
  %171 = zext nneg i32 %.184.6.3153 to i64
  %172 = shl nuw nsw i64 %171, 2
  %scevgep116.3 = getelementptr i8, ptr getelementptr inbounds (i8, ptr @g, i64 84), i64 %172
  %173 = shl i32 %.184.6.3153, 2
  %174 = sub i32 24, %173
  %175 = zext i32 %174 to i64
  %176 = add nuw nsw i64 %175, 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep116.3, i8 0, i64 %176, i1 false), !tbaa !7
  br label %._crit_edge.3

._crit_edge.3:                                    ; preds = %.lr.ph.3, %.preheader102.3
  %177 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %.not96.4125 = icmp ne i32 %177, 0
  %spec.select179 = zext i1 %.not96.4125 to i32
  %178 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %.not96.1.4 = icmp eq i32 %178, 0
  br i1 %.not96.1.4, label %183, label %179

179:                                              ; preds = %._crit_edge.3
  %180 = select i1 %.not96.4125, i32 2, i32 1
  %181 = zext i1 %.not96.4125 to i64
  %182 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 4, i64 %181
  store i32 %178, ptr %182, align 4, !tbaa !7
  br label %183

183:                                              ; preds = %179, %._crit_edge.3
  %.184.1.4 = phi i32 [ %180, %179 ], [ %spec.select179, %._crit_edge.3 ]
  %184 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %.not96.2.4 = icmp eq i32 %184, 0
  br i1 %.not96.2.4, label %189, label %185

185:                                              ; preds = %183
  %186 = add nuw nsw i32 %.184.1.4, 1
  %187 = zext nneg i32 %.184.1.4 to i64
  %188 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 4, i64 %187
  store i32 %184, ptr %188, align 4, !tbaa !7
  br label %189

189:                                              ; preds = %185, %183
  %.184.2.4 = phi i32 [ %186, %185 ], [ %.184.1.4, %183 ]
  %190 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %.not96.3.4 = icmp eq i32 %190, 0
  br i1 %.not96.3.4, label %195, label %191

191:                                              ; preds = %189
  %192 = add nuw nsw i32 %.184.2.4, 1
  %193 = zext nneg i32 %.184.2.4 to i64
  %194 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 4, i64 %193
  store i32 %190, ptr %194, align 4, !tbaa !7
  br label %195

195:                                              ; preds = %191, %189
  %.184.3.4 = phi i32 [ %192, %191 ], [ %.184.2.4, %189 ]
  %196 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %.not96.4.4 = icmp eq i32 %196, 0
  br i1 %.not96.4.4, label %201, label %197

197:                                              ; preds = %195
  %198 = add nuw nsw i32 %.184.3.4, 1
  %199 = zext nneg i32 %.184.3.4 to i64
  %200 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 4, i64 %199
  store i32 %196, ptr %200, align 4, !tbaa !7
  br label %201

201:                                              ; preds = %197, %195
  %.184.4.4 = phi i32 [ %198, %197 ], [ %.184.3.4, %195 ]
  %202 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %.not96.5.4 = icmp eq i32 %202, 0
  br i1 %.not96.5.4, label %207, label %203

203:                                              ; preds = %201
  %204 = add nuw nsw i32 %.184.4.4, 1
  %205 = zext nneg i32 %.184.4.4 to i64
  %206 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 4, i64 %205
  store i32 %202, ptr %206, align 4, !tbaa !7
  br label %207

207:                                              ; preds = %203, %201
  %.184.5.4 = phi i32 [ %204, %203 ], [ %.184.4.4, %201 ]
  %208 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %.not96.6.4 = icmp eq i32 %208, 0
  br i1 %.not96.6.4, label %.lr.ph.4, label %.preheader102.4

.preheader102.4:                                  ; preds = %207
  %209 = add nuw nsw i32 %.184.5.4, 1
  %210 = zext nneg i32 %.184.5.4 to i64
  %211 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 4, i64 %210
  store i32 %208, ptr %211, align 4, !tbaa !7
  %212 = icmp ult i32 %.184.5.4, 6
  br i1 %212, label %.lr.ph.4, label %._crit_edge.4

.lr.ph.4:                                         ; preds = %207, %.preheader102.4
  %.184.6.4155 = phi i32 [ %209, %.preheader102.4 ], [ %.184.5.4, %207 ]
  %213 = zext nneg i32 %.184.6.4155 to i64
  %214 = shl nuw nsw i64 %213, 2
  %scevgep116.4 = getelementptr i8, ptr getelementptr inbounds (i8, ptr @g, i64 112), i64 %214
  %215 = shl i32 %.184.6.4155, 2
  %216 = sub i32 24, %215
  %217 = zext i32 %216 to i64
  %218 = add nuw nsw i64 %217, 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep116.4, i8 0, i64 %218, i1 false), !tbaa !7
  br label %._crit_edge.4

._crit_edge.4:                                    ; preds = %.lr.ph.4, %.preheader102.4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(140) @st, i8 0, i64 140, i1 false)
  %219 = load i32, ptr @g, align 16, !tbaa !7
  %.not95 = icmp eq i32 %219, 0
  br i1 %.not95, label %966, label %.preheader99.preheader

.preheader99.preheader.1:                         ; preds = %.preheader101.1.preheader
  %220 = load i32, ptr @g, align 16, !tbaa !7
  %221 = icmp ne i32 %220, %1095
  %spec.select180 = sext i1 %221 to i32
  %222 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %223 = icmp eq i32 %222, %1095
  br i1 %223, label %224, label %.critedge2.1, !llvm.loop !11

224:                                              ; preds = %.preheader99.preheader.1
  %225 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %226 = icmp eq i32 %225, %1095
  br i1 %226, label %227, label %.critedge2.1, !llvm.loop !11

227:                                              ; preds = %224
  %228 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %229 = icmp eq i32 %228, %1095
  %spec.select181 = select i1 %229, i32 4, i32 3
  br label %.critedge2.1, !llvm.loop !11

.critedge2.1:                                     ; preds = %227, %224, %.preheader99.preheader.1
  %.077.lcssa.1 = phi i32 [ 1, %.preheader99.preheader.1 ], [ 2, %224 ], [ %spec.select181, %227 ]
  %230 = add nsw i32 %.077.lcssa.1, %spec.select180
  %231 = icmp ugt i32 %230, 1
  br i1 %231, label %.sink.split, label %.critedge4.1

.critedge4.1:                                     ; preds = %.critedge2.1
  %232 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %233 = icmp eq i32 %232, %1095
  br i1 %233, label %234, label %.critedge6.1, !llvm.loop !12

234:                                              ; preds = %.critedge4.1
  %235 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %236 = icmp eq i32 %235, %1095
  br i1 %236, label %237, label %.critedge6.1, !llvm.loop !12

237:                                              ; preds = %234
  %238 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %239 = icmp eq i32 %238, %1095
  br i1 %239, label %240, label %.critedge6.1, !llvm.loop !12

240:                                              ; preds = %237
  %241 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %242 = icmp eq i32 %241, %1095
  br i1 %242, label %243, label %.critedge6.1, !llvm.loop !12

243:                                              ; preds = %240
  %244 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %245 = icmp eq i32 %244, %1095
  br i1 %245, label %246, label %.critedge6.1, !llvm.loop !12

246:                                              ; preds = %243
  %247 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %248 = icmp eq i32 %247, %1095
  %spec.select378 = select i1 %248, i32 6, i32 5
  br label %.critedge6.1, !llvm.loop !12

.critedge6.1:                                     ; preds = %246, %.critedge4.1, %234, %237, %240, %243
  %.1.lcssa.1 = phi i32 [ 0, %.critedge4.1 ], [ 1, %234 ], [ 2, %237 ], [ 3, %240 ], [ 4, %243 ], [ %spec.select378, %246 ]
  %249 = icmp sgt i32 %.1.lcssa.1, 1
  br i1 %249, label %.sink.split, label %.preheader101.1.1

.sink.split:                                      ; preds = %.critedge2.1, %.critedge6.1
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 28), align 4, !tbaa !7
  br label %.preheader101.1.1

.preheader101.1.1:                                ; preds = %.sink.split, %.critedge6.1, %.preheader101.1.preheader
  %.3.1 = phi i1 [ %.3.6, %.preheader101.1.preheader ], [ %.3.6, %.critedge6.1 ], [ false, %.sink.split ]
  %250 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %.not95.1.1 = icmp eq i32 %250, 0
  br i1 %.not95.1.1, label %.preheader101.1.2, label %.preheader99.preheader.1.1

.preheader99.preheader.1.1:                       ; preds = %.preheader101.1.1
  %251 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %252 = icmp ne i32 %251, %250
  %spec.select180.1 = sext i1 %252 to i32
  %253 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %254 = icmp eq i32 %253, %250
  br i1 %254, label %255, label %.critedge2.1.1, !llvm.loop !11

255:                                              ; preds = %.preheader99.preheader.1.1
  %256 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %257 = icmp eq i32 %256, %250
  br i1 %257, label %258, label %.critedge2.1.1, !llvm.loop !11

258:                                              ; preds = %255
  %259 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %260 = icmp eq i32 %259, %250
  %spec.select181.1 = select i1 %260, i32 4, i32 3
  br label %.critedge2.1.1, !llvm.loop !11

.critedge2.1.1:                                   ; preds = %258, %255, %.preheader99.preheader.1.1
  %.077.lcssa.1.1 = phi i32 [ 1, %.preheader99.preheader.1.1 ], [ 2, %255 ], [ %spec.select181.1, %258 ]
  %261 = add nsw i32 %.077.lcssa.1.1, %spec.select180.1
  %262 = icmp ugt i32 %261, 1
  br i1 %262, label %.sink.split.1, label %.preheader.1.1283

.preheader.1.1283:                                ; preds = %.critedge2.1.1
  %263 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %264 = icmp eq i32 %263, %250
  %.179.lcssa.1.1.neg = select i1 %264, i32 0, i32 -1
  %265 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %266 = icmp eq i32 %265, %250
  br i1 %266, label %267, label %.critedge6.1.1, !llvm.loop !12

267:                                              ; preds = %.preheader.1.1283
  %268 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %269 = icmp eq i32 %268, %250
  br i1 %269, label %270, label %.critedge6.1.1, !llvm.loop !12

270:                                              ; preds = %267
  %271 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %272 = icmp eq i32 %271, %250
  br i1 %272, label %273, label %.critedge6.1.1, !llvm.loop !12

273:                                              ; preds = %270
  %274 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %275 = icmp eq i32 %274, %250
  br i1 %275, label %276, label %.critedge6.1.1, !llvm.loop !12

276:                                              ; preds = %273
  %277 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %278 = icmp eq i32 %277, %250
  %spec.select379 = select i1 %278, i32 6, i32 5
  br label %.critedge6.1.1, !llvm.loop !12

.critedge6.1.1:                                   ; preds = %276, %.preheader.1.1283, %267, %270, %273
  %.1.lcssa.1.1 = phi i32 [ 1, %.preheader.1.1283 ], [ 2, %267 ], [ 3, %270 ], [ 4, %273 ], [ %spec.select379, %276 ]
  %279 = add i32 %.179.lcssa.1.1.neg, %.1.lcssa.1.1
  %280 = icmp sgt i32 %279, 1
  br i1 %280, label %.sink.split.1, label %.preheader101.1.2

.sink.split.1:                                    ; preds = %.critedge6.1.1, %.critedge2.1.1
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 32), align 16, !tbaa !7
  br label %.preheader101.1.2

.preheader101.1.2:                                ; preds = %.sink.split.1, %.critedge6.1.1, %.preheader101.1.1
  %.3.1.1 = phi i1 [ %.3.1, %.preheader101.1.1 ], [ %.3.1, %.critedge6.1.1 ], [ false, %.sink.split.1 ]
  %281 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %.not95.1.2 = icmp eq i32 %281, 0
  br i1 %.not95.1.2, label %.preheader101.1.3, label %.preheader99.preheader.1.2

.preheader99.preheader.1.2:                       ; preds = %.preheader101.1.2
  %282 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %283 = icmp ne i32 %282, %281
  %spec.select180.2 = sext i1 %283 to i32
  %284 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %285 = icmp eq i32 %284, %281
  br i1 %285, label %286, label %.critedge2.1.2, !llvm.loop !11

286:                                              ; preds = %.preheader99.preheader.1.2
  %287 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %288 = icmp eq i32 %287, %281
  br i1 %288, label %289, label %.critedge2.1.2, !llvm.loop !11

289:                                              ; preds = %286
  %290 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %291 = icmp eq i32 %290, %281
  %spec.select181.2 = select i1 %291, i32 4, i32 3
  br label %.critedge2.1.2, !llvm.loop !11

.critedge2.1.2:                                   ; preds = %289, %286, %.preheader99.preheader.1.2
  %.077.lcssa.1.2 = phi i32 [ 1, %.preheader99.preheader.1.2 ], [ 2, %286 ], [ %spec.select181.2, %289 ]
  %292 = add nsw i32 %.077.lcssa.1.2, %spec.select180.2
  %293 = icmp ugt i32 %292, 1
  br i1 %293, label %.sink.split.2, label %.preheader.1.2286

.preheader.1.2286:                                ; preds = %.critedge2.1.2
  %294 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %295 = icmp eq i32 %294, %281
  %296 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4
  %297 = icmp eq i32 %296, %281
  %spec.select380 = select i1 %297, i32 0, i32 -1
  %.179.lcssa.1.2.neg = select i1 %295, i32 %spec.select380, i32 -2
  %298 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %299 = icmp eq i32 %298, %281
  br i1 %299, label %300, label %.critedge6.1.2, !llvm.loop !12

300:                                              ; preds = %.preheader.1.2286
  %301 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %302 = icmp eq i32 %301, %281
  br i1 %302, label %303, label %.critedge6.1.2, !llvm.loop !12

303:                                              ; preds = %300
  %304 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %305 = icmp eq i32 %304, %281
  br i1 %305, label %306, label %.critedge6.1.2, !llvm.loop !12

306:                                              ; preds = %303
  %307 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %308 = icmp eq i32 %307, %281
  %spec.select381 = select i1 %308, i32 6, i32 5
  br label %.critedge6.1.2, !llvm.loop !12

.critedge6.1.2:                                   ; preds = %306, %.preheader.1.2286, %300, %303
  %.1.lcssa.1.2 = phi i32 [ 2, %.preheader.1.2286 ], [ 3, %300 ], [ 4, %303 ], [ %spec.select381, %306 ]
  %309 = add i32 %.179.lcssa.1.2.neg, %.1.lcssa.1.2
  %310 = icmp sgt i32 %309, 1
  br i1 %310, label %.sink.split.2, label %.preheader101.1.3

.sink.split.2:                                    ; preds = %.critedge6.1.2, %.critedge2.1.2
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 36), align 4, !tbaa !7
  br label %.preheader101.1.3

.preheader101.1.3:                                ; preds = %.sink.split.2, %.critedge6.1.2, %.preheader101.1.2
  %.3.1.2 = phi i1 [ %.3.1.1, %.preheader101.1.2 ], [ %.3.1.1, %.critedge6.1.2 ], [ false, %.sink.split.2 ]
  %311 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %.not95.1.3 = icmp eq i32 %311, 0
  br i1 %.not95.1.3, label %.preheader101.1.4, label %.preheader99.preheader.1.3

.preheader99.preheader.1.3:                       ; preds = %.preheader101.1.3
  %312 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %313 = icmp ne i32 %312, %311
  %spec.select180.3 = sext i1 %313 to i32
  %314 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %315 = icmp eq i32 %314, %311
  br i1 %315, label %316, label %.critedge2.1.3, !llvm.loop !11

316:                                              ; preds = %.preheader99.preheader.1.3
  %317 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %318 = icmp eq i32 %317, %311
  br i1 %318, label %319, label %.critedge2.1.3, !llvm.loop !11

319:                                              ; preds = %316
  %320 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %321 = icmp eq i32 %320, %311
  %spec.select181.3 = select i1 %321, i32 4, i32 3
  br label %.critedge2.1.3, !llvm.loop !11

.critedge2.1.3:                                   ; preds = %319, %316, %.preheader99.preheader.1.3
  %.077.lcssa.1.3 = phi i32 [ 1, %.preheader99.preheader.1.3 ], [ 2, %316 ], [ %spec.select181.3, %319 ]
  %322 = add nsw i32 %.077.lcssa.1.3, %spec.select180.3
  %323 = icmp ugt i32 %322, 1
  br i1 %323, label %.sink.split.3, label %.preheader.1.3289

.preheader.1.3289:                                ; preds = %.critedge2.1.3
  %324 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %325 = icmp eq i32 %324, %311
  br i1 %325, label %.preheader.1.1.3, label %.critedge4.1.3, !llvm.loop !13

.preheader.1.1.3:                                 ; preds = %.preheader.1.3289
  %326 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %327 = icmp eq i32 %326, %311
  br i1 %327, label %.preheader.1.2.3, label %.critedge4.1.3, !llvm.loop !13

.preheader.1.2.3:                                 ; preds = %.preheader.1.1.3
  %328 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %329 = icmp eq i32 %328, %311
  %spec.select382 = select i1 %329, i32 0, i32 -1
  br label %.critedge4.1.3, !llvm.loop !13

.critedge4.1.3:                                   ; preds = %.preheader.1.2.3, %.preheader.1.3289, %.preheader.1.1.3
  %.179.lcssa.1.3.neg = phi i32 [ -3, %.preheader.1.3289 ], [ -2, %.preheader.1.1.3 ], [ %spec.select382, %.preheader.1.2.3 ]
  %330 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %331 = icmp eq i32 %330, %311
  br i1 %331, label %332, label %.critedge6.1.3, !llvm.loop !12

332:                                              ; preds = %.critedge4.1.3
  %333 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %334 = icmp eq i32 %333, %311
  br i1 %334, label %335, label %.critedge6.1.3, !llvm.loop !12

335:                                              ; preds = %332
  %336 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %337 = icmp eq i32 %336, %311
  %spec.select383 = select i1 %337, i32 6, i32 5
  br label %.critedge6.1.3, !llvm.loop !12

.critedge6.1.3:                                   ; preds = %335, %.critedge4.1.3, %332
  %.1.lcssa.1.3 = phi i32 [ 3, %.critedge4.1.3 ], [ 4, %332 ], [ %spec.select383, %335 ]
  %338 = add i32 %.179.lcssa.1.3.neg, %.1.lcssa.1.3
  %339 = icmp sgt i32 %338, 1
  br i1 %339, label %.sink.split.3, label %.preheader101.1.4

.sink.split.3:                                    ; preds = %.critedge6.1.3, %.critedge2.1.3
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 40), align 8, !tbaa !7
  br label %.preheader101.1.4

.preheader101.1.4:                                ; preds = %.sink.split.3, %.critedge6.1.3, %.preheader101.1.3
  %.3.1.3 = phi i1 [ %.3.1.2, %.preheader101.1.3 ], [ %.3.1.2, %.critedge6.1.3 ], [ false, %.sink.split.3 ]
  %340 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %.not95.1.4 = icmp eq i32 %340, 0
  br i1 %.not95.1.4, label %.preheader101.1.5, label %.preheader99.preheader.1.4

.preheader99.preheader.1.4:                       ; preds = %.preheader101.1.4
  %341 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %342 = icmp ne i32 %341, %340
  %spec.select180.4 = sext i1 %342 to i32
  %343 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %344 = icmp eq i32 %343, %340
  br i1 %344, label %345, label %.critedge2.1.4, !llvm.loop !11

345:                                              ; preds = %.preheader99.preheader.1.4
  %346 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %347 = icmp eq i32 %346, %340
  br i1 %347, label %348, label %.critedge2.1.4, !llvm.loop !11

348:                                              ; preds = %345
  %349 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %350 = icmp eq i32 %349, %340
  %spec.select181.4 = select i1 %350, i32 4, i32 3
  br label %.critedge2.1.4, !llvm.loop !11

.critedge2.1.4:                                   ; preds = %348, %345, %.preheader99.preheader.1.4
  %.077.lcssa.1.4 = phi i32 [ 1, %.preheader99.preheader.1.4 ], [ 2, %345 ], [ %spec.select181.4, %348 ]
  %351 = add nsw i32 %.077.lcssa.1.4, %spec.select180.4
  %352 = icmp ugt i32 %351, 1
  br i1 %352, label %.sink.split.4, label %.preheader.1.4292

.preheader.1.4292:                                ; preds = %.critedge2.1.4
  %353 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %354 = icmp eq i32 %353, %340
  br i1 %354, label %.preheader.1.1.4, label %.critedge4.1.4, !llvm.loop !13

.preheader.1.1.4:                                 ; preds = %.preheader.1.4292
  %355 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %356 = icmp eq i32 %355, %340
  br i1 %356, label %.preheader.1.2.4, label %.critedge4.1.4, !llvm.loop !13

.preheader.1.2.4:                                 ; preds = %.preheader.1.1.4
  %357 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %358 = icmp eq i32 %357, %340
  br i1 %358, label %.preheader.1.3.4, label %.critedge4.1.4, !llvm.loop !13

.preheader.1.3.4:                                 ; preds = %.preheader.1.2.4
  %359 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %360 = icmp eq i32 %359, %340
  %spec.select384 = select i1 %360, i32 0, i32 -1
  br label %.critedge4.1.4, !llvm.loop !13

.critedge4.1.4:                                   ; preds = %.preheader.1.3.4, %.preheader.1.4292, %.preheader.1.1.4, %.preheader.1.2.4
  %.179.lcssa.1.4.neg = phi i32 [ -4, %.preheader.1.4292 ], [ -3, %.preheader.1.1.4 ], [ -2, %.preheader.1.2.4 ], [ %spec.select384, %.preheader.1.3.4 ]
  %361 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %362 = icmp eq i32 %361, %340
  %363 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4
  %364 = icmp eq i32 %363, %340
  %spec.select385 = select i1 %364, i32 6, i32 5
  %.1.lcssa.1.4 = select i1 %362, i32 %spec.select385, i32 4
  %365 = add i32 %.179.lcssa.1.4.neg, %.1.lcssa.1.4
  %366 = icmp sgt i32 %365, 1
  br i1 %366, label %.sink.split.4, label %.preheader101.1.5

.sink.split.4:                                    ; preds = %.critedge4.1.4, %.critedge2.1.4
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 44), align 4, !tbaa !7
  br label %.preheader101.1.5

.preheader101.1.5:                                ; preds = %.sink.split.4, %.critedge4.1.4, %.preheader101.1.4
  %.3.1.4 = phi i1 [ %.3.1.3, %.preheader101.1.4 ], [ %.3.1.3, %.critedge4.1.4 ], [ false, %.sink.split.4 ]
  %367 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %.not95.1.5 = icmp eq i32 %367, 0
  br i1 %.not95.1.5, label %.preheader101.1.6, label %.preheader99.preheader.1.5

.preheader99.preheader.1.5:                       ; preds = %.preheader101.1.5
  %368 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %369 = icmp ne i32 %368, %367
  %spec.select180.5 = sext i1 %369 to i32
  %370 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %371 = icmp eq i32 %370, %367
  br i1 %371, label %372, label %.critedge2.1.5, !llvm.loop !11

372:                                              ; preds = %.preheader99.preheader.1.5
  %373 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %374 = icmp eq i32 %373, %367
  br i1 %374, label %375, label %.critedge2.1.5, !llvm.loop !11

375:                                              ; preds = %372
  %376 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %377 = icmp eq i32 %376, %367
  %spec.select181.5 = select i1 %377, i32 4, i32 3
  br label %.critedge2.1.5, !llvm.loop !11

.critedge2.1.5:                                   ; preds = %375, %372, %.preheader99.preheader.1.5
  %.077.lcssa.1.5 = phi i32 [ 1, %.preheader99.preheader.1.5 ], [ 2, %372 ], [ %spec.select181.5, %375 ]
  %378 = add nsw i32 %.077.lcssa.1.5, %spec.select180.5
  %379 = icmp ugt i32 %378, 1
  br i1 %379, label %.sink.split.5, label %.preheader.1.5295

.preheader.1.5295:                                ; preds = %.critedge2.1.5
  %380 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %381 = icmp eq i32 %380, %367
  br i1 %381, label %.preheader.1.1.5, label %.critedge4.1.5, !llvm.loop !13

.preheader.1.1.5:                                 ; preds = %.preheader.1.5295
  %382 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %383 = icmp eq i32 %382, %367
  br i1 %383, label %.preheader.1.2.5, label %.critedge4.1.5, !llvm.loop !13

.preheader.1.2.5:                                 ; preds = %.preheader.1.1.5
  %384 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %385 = icmp eq i32 %384, %367
  br i1 %385, label %.preheader.1.3.5, label %.critedge4.1.5, !llvm.loop !13

.preheader.1.3.5:                                 ; preds = %.preheader.1.2.5
  %386 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %387 = icmp eq i32 %386, %367
  br i1 %387, label %.preheader.1.4.5, label %.critedge4.1.5, !llvm.loop !13

.preheader.1.4.5:                                 ; preds = %.preheader.1.3.5
  %388 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %389 = icmp eq i32 %388, %367
  %spec.select386 = select i1 %389, i32 0, i32 -1
  br label %.critedge4.1.5, !llvm.loop !13

.critedge4.1.5:                                   ; preds = %.preheader.1.4.5, %.preheader.1.5295, %.preheader.1.1.5, %.preheader.1.2.5, %.preheader.1.3.5
  %.179.lcssa.1.5.neg = phi i32 [ -5, %.preheader.1.5295 ], [ -4, %.preheader.1.1.5 ], [ -3, %.preheader.1.2.5 ], [ -2, %.preheader.1.3.5 ], [ %spec.select386, %.preheader.1.4.5 ]
  %390 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %391 = icmp eq i32 %390, %367
  %.1.lcssa.1.5 = select i1 %391, i32 6, i32 5
  %392 = add i32 %.179.lcssa.1.5.neg, %.1.lcssa.1.5
  %393 = icmp sgt i32 %392, 1
  br i1 %393, label %.sink.split.5, label %.preheader101.1.6

.sink.split.5:                                    ; preds = %.critedge4.1.5, %.critedge2.1.5
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 48), align 16, !tbaa !7
  br label %.preheader101.1.6

.preheader101.1.6:                                ; preds = %.sink.split.5, %.critedge4.1.5, %.preheader101.1.5
  %.3.1.5 = phi i1 [ %.3.1.4, %.preheader101.1.5 ], [ %.3.1.4, %.critedge4.1.5 ], [ false, %.sink.split.5 ]
  %394 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %.not95.1.6 = icmp eq i32 %394, 0
  br i1 %.not95.1.6, label %.preheader101.2, label %.preheader99.preheader.1.6

.preheader99.preheader.1.6:                       ; preds = %.preheader101.1.6
  %395 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %396 = icmp ne i32 %395, %394
  %spec.select180.6 = sext i1 %396 to i32
  %397 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %398 = icmp eq i32 %397, %394
  br i1 %398, label %399, label %.critedge2.1.6, !llvm.loop !11

399:                                              ; preds = %.preheader99.preheader.1.6
  %400 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %401 = icmp eq i32 %400, %394
  br i1 %401, label %402, label %.critedge2.1.6, !llvm.loop !11

402:                                              ; preds = %399
  %403 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %404 = icmp eq i32 %403, %394
  %spec.select181.6 = select i1 %404, i32 4, i32 3
  br label %.critedge2.1.6, !llvm.loop !11

.critedge2.1.6:                                   ; preds = %402, %399, %.preheader99.preheader.1.6
  %.077.lcssa.1.6 = phi i32 [ 1, %.preheader99.preheader.1.6 ], [ 2, %399 ], [ %spec.select181.6, %402 ]
  %405 = add nsw i32 %.077.lcssa.1.6, %spec.select180.6
  %406 = icmp ugt i32 %405, 1
  br i1 %406, label %.sink.split.6, label %.preheader.1.6298

.preheader.1.6298:                                ; preds = %.critedge2.1.6
  %407 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %408 = icmp eq i32 %407, %394
  br i1 %408, label %.preheader.1.1.6, label %.critedge6.1.6, !llvm.loop !13

.preheader.1.1.6:                                 ; preds = %.preheader.1.6298
  %409 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %410 = icmp eq i32 %409, %394
  br i1 %410, label %.preheader.1.2.6, label %.critedge6.1.6, !llvm.loop !13

.preheader.1.2.6:                                 ; preds = %.preheader.1.1.6
  %411 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %412 = icmp eq i32 %411, %394
  br i1 %412, label %.preheader.1.3.6, label %.critedge6.1.6, !llvm.loop !13

.preheader.1.3.6:                                 ; preds = %.preheader.1.2.6
  %413 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %414 = icmp eq i32 %413, %394
  br i1 %414, label %.preheader.1.4.6, label %.critedge6.1.6, !llvm.loop !13

.preheader.1.4.6:                                 ; preds = %.preheader.1.3.6
  %415 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %416 = icmp eq i32 %415, %394
  br i1 %416, label %.preheader.1.5.6, label %.critedge6.1.6, !llvm.loop !13

.preheader.1.5.6:                                 ; preds = %.preheader.1.4.6
  %417 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %418 = icmp eq i32 %417, %394
  %spec.select387 = select i1 %418, i32 0, i32 -1
  br label %.critedge6.1.6, !llvm.loop !13

.critedge6.1.6:                                   ; preds = %.preheader.1.5.6, %.preheader.1.4.6, %.preheader.1.3.6, %.preheader.1.2.6, %.preheader.1.1.6, %.preheader.1.6298
  %.179.lcssa.1.6.neg = phi i32 [ -6, %.preheader.1.6298 ], [ -5, %.preheader.1.1.6 ], [ -4, %.preheader.1.2.6 ], [ -3, %.preheader.1.3.6 ], [ -2, %.preheader.1.4.6 ], [ %spec.select387, %.preheader.1.5.6 ]
  %419 = add i32 %.179.lcssa.1.6.neg, 6
  %420 = icmp sgt i32 %419, 1
  br i1 %420, label %.sink.split.6, label %.preheader101.2

.sink.split.6:                                    ; preds = %.critedge6.1.6, %.critedge2.1.6
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 52), align 4, !tbaa !7
  br label %.preheader101.2

.preheader101.2:                                  ; preds = %.preheader101.1.6, %.critedge6.1.6, %.sink.split.6
  %.3.1.6 = phi i1 [ %.3.1.5, %.preheader101.1.6 ], [ %.3.1.5, %.critedge6.1.6 ], [ false, %.sink.split.6 ]
  %421 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %.not95.2 = icmp eq i32 %421, 0
  br i1 %.not95.2, label %.preheader101.2.1, label %.preheader99.preheader.2

.preheader99.preheader.2:                         ; preds = %.preheader101.2
  %422 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %423 = icmp eq i32 %422, %421
  %424 = load i32, ptr @g, align 16
  %425 = icmp ne i32 %424, %421
  %spec.select182 = sext i1 %425 to i32
  %.078.lcssa.2.neg = select i1 %423, i32 %spec.select182, i32 -2
  %426 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %427 = icmp eq i32 %426, %421
  %428 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16
  %429 = icmp eq i32 %428, %421
  %spec.select183 = select i1 %429, i32 4, i32 3
  %.077.lcssa.2 = select i1 %427, i32 %spec.select183, i32 2
  %430 = add nsw i32 %.078.lcssa.2.neg, %.077.lcssa.2
  %431 = icmp ugt i32 %430, 1
  br i1 %431, label %.sink.split184, label %.critedge4.2

.critedge4.2:                                     ; preds = %.preheader99.preheader.2
  %432 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %433 = icmp eq i32 %432, %421
  br i1 %433, label %434, label %.critedge6.2, !llvm.loop !12

434:                                              ; preds = %.critedge4.2
  %435 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %436 = icmp eq i32 %435, %421
  br i1 %436, label %437, label %.critedge6.2, !llvm.loop !12

437:                                              ; preds = %434
  %438 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %439 = icmp eq i32 %438, %421
  br i1 %439, label %440, label %.critedge6.2, !llvm.loop !12

440:                                              ; preds = %437
  %441 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %442 = icmp eq i32 %441, %421
  br i1 %442, label %443, label %.critedge6.2, !llvm.loop !12

443:                                              ; preds = %440
  %444 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %445 = icmp eq i32 %444, %421
  br i1 %445, label %446, label %.critedge6.2, !llvm.loop !12

446:                                              ; preds = %443
  %447 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %448 = icmp eq i32 %447, %421
  %spec.select388 = select i1 %448, i32 6, i32 5
  br label %.critedge6.2, !llvm.loop !12

.critedge6.2:                                     ; preds = %446, %.critedge4.2, %434, %437, %440, %443
  %.1.lcssa.2 = phi i32 [ 0, %.critedge4.2 ], [ 1, %434 ], [ 2, %437 ], [ 3, %440 ], [ 4, %443 ], [ %spec.select388, %446 ]
  %449 = icmp sgt i32 %.1.lcssa.2, 1
  br i1 %449, label %.sink.split184, label %.preheader101.2.1

.sink.split184:                                   ; preds = %.preheader99.preheader.2, %.critedge6.2
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 56), align 8, !tbaa !7
  br label %.preheader101.2.1

.preheader101.2.1:                                ; preds = %.sink.split184, %.critedge6.2, %.preheader101.2
  %.3.2 = phi i1 [ %.3.1.6, %.preheader101.2 ], [ %.3.1.6, %.critedge6.2 ], [ false, %.sink.split184 ]
  %450 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %.not95.2.1 = icmp eq i32 %450, 0
  br i1 %.not95.2.1, label %.preheader101.2.2, label %.preheader99.preheader.2.1

.preheader99.preheader.2.1:                       ; preds = %.preheader101.2.1
  %451 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %452 = icmp eq i32 %451, %450
  %453 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4
  %454 = icmp ne i32 %453, %450
  %spec.select182.1 = sext i1 %454 to i32
  %.078.lcssa.2.neg.1 = select i1 %452, i32 %spec.select182.1, i32 -2
  %455 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %456 = icmp eq i32 %455, %450
  %457 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4
  %458 = icmp eq i32 %457, %450
  %spec.select183.1 = select i1 %458, i32 4, i32 3
  %.077.lcssa.2.1 = select i1 %456, i32 %spec.select183.1, i32 2
  %459 = add nsw i32 %.078.lcssa.2.neg.1, %.077.lcssa.2.1
  %460 = icmp ugt i32 %459, 1
  br i1 %460, label %.sink.split184.1, label %.preheader.2.1300

.preheader.2.1300:                                ; preds = %.preheader99.preheader.2.1
  %461 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %462 = icmp eq i32 %461, %450
  %.179.lcssa.2.1.neg = select i1 %462, i32 0, i32 -1
  %463 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %464 = icmp eq i32 %463, %450
  br i1 %464, label %465, label %.critedge6.2.1, !llvm.loop !12

465:                                              ; preds = %.preheader.2.1300
  %466 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %467 = icmp eq i32 %466, %450
  br i1 %467, label %468, label %.critedge6.2.1, !llvm.loop !12

468:                                              ; preds = %465
  %469 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %470 = icmp eq i32 %469, %450
  br i1 %470, label %471, label %.critedge6.2.1, !llvm.loop !12

471:                                              ; preds = %468
  %472 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %473 = icmp eq i32 %472, %450
  br i1 %473, label %474, label %.critedge6.2.1, !llvm.loop !12

474:                                              ; preds = %471
  %475 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %476 = icmp eq i32 %475, %450
  %spec.select389 = select i1 %476, i32 6, i32 5
  br label %.critedge6.2.1, !llvm.loop !12

.critedge6.2.1:                                   ; preds = %474, %.preheader.2.1300, %465, %468, %471
  %.1.lcssa.2.1 = phi i32 [ 1, %.preheader.2.1300 ], [ 2, %465 ], [ 3, %468 ], [ 4, %471 ], [ %spec.select389, %474 ]
  %477 = add i32 %.179.lcssa.2.1.neg, %.1.lcssa.2.1
  %478 = icmp sgt i32 %477, 1
  br i1 %478, label %.sink.split184.1, label %.preheader101.2.2

.sink.split184.1:                                 ; preds = %.critedge6.2.1, %.preheader99.preheader.2.1
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 60), align 4, !tbaa !7
  br label %.preheader101.2.2

.preheader101.2.2:                                ; preds = %.sink.split184.1, %.critedge6.2.1, %.preheader101.2.1
  %.3.2.1 = phi i1 [ %.3.2, %.preheader101.2.1 ], [ %.3.2, %.critedge6.2.1 ], [ false, %.sink.split184.1 ]
  %479 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %.not95.2.2 = icmp eq i32 %479, 0
  br i1 %.not95.2.2, label %.preheader101.2.3, label %.preheader99.preheader.2.2

.preheader99.preheader.2.2:                       ; preds = %.preheader101.2.2
  %480 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %481 = icmp eq i32 %480, %479
  %482 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8
  %483 = icmp ne i32 %482, %479
  %spec.select182.2 = sext i1 %483 to i32
  %.078.lcssa.2.neg.2 = select i1 %481, i32 %spec.select182.2, i32 -2
  %484 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %485 = icmp eq i32 %484, %479
  %486 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8
  %487 = icmp eq i32 %486, %479
  %spec.select183.2 = select i1 %487, i32 4, i32 3
  %.077.lcssa.2.2 = select i1 %485, i32 %spec.select183.2, i32 2
  %488 = add nsw i32 %.078.lcssa.2.neg.2, %.077.lcssa.2.2
  %489 = icmp ugt i32 %488, 1
  br i1 %489, label %.sink.split184.2, label %.preheader.2.2303

.preheader.2.2303:                                ; preds = %.preheader99.preheader.2.2
  %490 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %491 = icmp eq i32 %490, %479
  %492 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8
  %493 = icmp eq i32 %492, %479
  %spec.select390 = select i1 %493, i32 0, i32 -1
  %.179.lcssa.2.2.neg = select i1 %491, i32 %spec.select390, i32 -2
  %494 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %495 = icmp eq i32 %494, %479
  br i1 %495, label %496, label %.critedge6.2.2, !llvm.loop !12

496:                                              ; preds = %.preheader.2.2303
  %497 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %498 = icmp eq i32 %497, %479
  br i1 %498, label %499, label %.critedge6.2.2, !llvm.loop !12

499:                                              ; preds = %496
  %500 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %501 = icmp eq i32 %500, %479
  br i1 %501, label %502, label %.critedge6.2.2, !llvm.loop !12

502:                                              ; preds = %499
  %503 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %504 = icmp eq i32 %503, %479
  %spec.select391 = select i1 %504, i32 6, i32 5
  br label %.critedge6.2.2, !llvm.loop !12

.critedge6.2.2:                                   ; preds = %502, %.preheader.2.2303, %496, %499
  %.1.lcssa.2.2 = phi i32 [ 2, %.preheader.2.2303 ], [ 3, %496 ], [ 4, %499 ], [ %spec.select391, %502 ]
  %505 = add i32 %.179.lcssa.2.2.neg, %.1.lcssa.2.2
  %506 = icmp sgt i32 %505, 1
  br i1 %506, label %.sink.split184.2, label %.preheader101.2.3

.sink.split184.2:                                 ; preds = %.critedge6.2.2, %.preheader99.preheader.2.2
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 64), align 16, !tbaa !7
  br label %.preheader101.2.3

.preheader101.2.3:                                ; preds = %.sink.split184.2, %.critedge6.2.2, %.preheader101.2.2
  %.3.2.2 = phi i1 [ %.3.2.1, %.preheader101.2.2 ], [ %.3.2.1, %.critedge6.2.2 ], [ false, %.sink.split184.2 ]
  %507 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %.not95.2.3 = icmp eq i32 %507, 0
  br i1 %.not95.2.3, label %.preheader101.2.4, label %.preheader99.preheader.2.3

.preheader99.preheader.2.3:                       ; preds = %.preheader101.2.3
  %508 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %509 = icmp eq i32 %508, %507
  %510 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4
  %511 = icmp ne i32 %510, %507
  %spec.select182.3 = sext i1 %511 to i32
  %.078.lcssa.2.neg.3 = select i1 %509, i32 %spec.select182.3, i32 -2
  %512 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %513 = icmp eq i32 %512, %507
  %514 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4
  %515 = icmp eq i32 %514, %507
  %spec.select183.3 = select i1 %515, i32 4, i32 3
  %.077.lcssa.2.3 = select i1 %513, i32 %spec.select183.3, i32 2
  %516 = add nsw i32 %.078.lcssa.2.neg.3, %.077.lcssa.2.3
  %517 = icmp ugt i32 %516, 1
  br i1 %517, label %.sink.split184.3, label %.preheader.2.3306

.preheader.2.3306:                                ; preds = %.preheader99.preheader.2.3
  %518 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %519 = icmp eq i32 %518, %507
  br i1 %519, label %.preheader.2.1.3, label %.critedge4.2.3, !llvm.loop !13

.preheader.2.1.3:                                 ; preds = %.preheader.2.3306
  %520 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %521 = icmp eq i32 %520, %507
  br i1 %521, label %.preheader.2.2.3, label %.critedge4.2.3, !llvm.loop !13

.preheader.2.2.3:                                 ; preds = %.preheader.2.1.3
  %522 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %523 = icmp eq i32 %522, %507
  %spec.select392 = select i1 %523, i32 0, i32 -1
  br label %.critedge4.2.3, !llvm.loop !13

.critedge4.2.3:                                   ; preds = %.preheader.2.2.3, %.preheader.2.3306, %.preheader.2.1.3
  %.179.lcssa.2.3.neg = phi i32 [ -3, %.preheader.2.3306 ], [ -2, %.preheader.2.1.3 ], [ %spec.select392, %.preheader.2.2.3 ]
  %524 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %525 = icmp eq i32 %524, %507
  br i1 %525, label %526, label %.critedge6.2.3, !llvm.loop !12

526:                                              ; preds = %.critedge4.2.3
  %527 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %528 = icmp eq i32 %527, %507
  br i1 %528, label %529, label %.critedge6.2.3, !llvm.loop !12

529:                                              ; preds = %526
  %530 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %531 = icmp eq i32 %530, %507
  %spec.select393 = select i1 %531, i32 6, i32 5
  br label %.critedge6.2.3, !llvm.loop !12

.critedge6.2.3:                                   ; preds = %529, %.critedge4.2.3, %526
  %.1.lcssa.2.3 = phi i32 [ 3, %.critedge4.2.3 ], [ 4, %526 ], [ %spec.select393, %529 ]
  %532 = add i32 %.179.lcssa.2.3.neg, %.1.lcssa.2.3
  %533 = icmp sgt i32 %532, 1
  br i1 %533, label %.sink.split184.3, label %.preheader101.2.4

.sink.split184.3:                                 ; preds = %.critedge6.2.3, %.preheader99.preheader.2.3
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 68), align 4, !tbaa !7
  br label %.preheader101.2.4

.preheader101.2.4:                                ; preds = %.sink.split184.3, %.critedge6.2.3, %.preheader101.2.3
  %.3.2.3 = phi i1 [ %.3.2.2, %.preheader101.2.3 ], [ %.3.2.2, %.critedge6.2.3 ], [ false, %.sink.split184.3 ]
  %534 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %.not95.2.4 = icmp eq i32 %534, 0
  br i1 %.not95.2.4, label %.preheader101.2.5, label %.preheader99.preheader.2.4

.preheader99.preheader.2.4:                       ; preds = %.preheader101.2.4
  %535 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %536 = icmp eq i32 %535, %534
  %537 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16
  %538 = icmp ne i32 %537, %534
  %spec.select182.4 = sext i1 %538 to i32
  %.078.lcssa.2.neg.4 = select i1 %536, i32 %spec.select182.4, i32 -2
  %539 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %540 = icmp eq i32 %539, %534
  %541 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16
  %542 = icmp eq i32 %541, %534
  %spec.select183.4 = select i1 %542, i32 4, i32 3
  %.077.lcssa.2.4 = select i1 %540, i32 %spec.select183.4, i32 2
  %543 = add nsw i32 %.078.lcssa.2.neg.4, %.077.lcssa.2.4
  %544 = icmp ugt i32 %543, 1
  br i1 %544, label %.sink.split184.4, label %.preheader.2.4309

.preheader.2.4309:                                ; preds = %.preheader99.preheader.2.4
  %545 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %546 = icmp eq i32 %545, %534
  br i1 %546, label %.preheader.2.1.4, label %.critedge4.2.4, !llvm.loop !13

.preheader.2.1.4:                                 ; preds = %.preheader.2.4309
  %547 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %548 = icmp eq i32 %547, %534
  br i1 %548, label %.preheader.2.2.4, label %.critedge4.2.4, !llvm.loop !13

.preheader.2.2.4:                                 ; preds = %.preheader.2.1.4
  %549 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %550 = icmp eq i32 %549, %534
  br i1 %550, label %.preheader.2.3.4, label %.critedge4.2.4, !llvm.loop !13

.preheader.2.3.4:                                 ; preds = %.preheader.2.2.4
  %551 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %552 = icmp eq i32 %551, %534
  %spec.select394 = select i1 %552, i32 0, i32 -1
  br label %.critedge4.2.4, !llvm.loop !13

.critedge4.2.4:                                   ; preds = %.preheader.2.3.4, %.preheader.2.4309, %.preheader.2.1.4, %.preheader.2.2.4
  %.179.lcssa.2.4.neg = phi i32 [ -4, %.preheader.2.4309 ], [ -3, %.preheader.2.1.4 ], [ -2, %.preheader.2.2.4 ], [ %spec.select394, %.preheader.2.3.4 ]
  %553 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %554 = icmp eq i32 %553, %534
  %555 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16
  %556 = icmp eq i32 %555, %534
  %spec.select395 = select i1 %556, i32 6, i32 5
  %.1.lcssa.2.4 = select i1 %554, i32 %spec.select395, i32 4
  %557 = add i32 %.179.lcssa.2.4.neg, %.1.lcssa.2.4
  %558 = icmp sgt i32 %557, 1
  br i1 %558, label %.sink.split184.4, label %.preheader101.2.5

.sink.split184.4:                                 ; preds = %.critedge4.2.4, %.preheader99.preheader.2.4
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 72), align 8, !tbaa !7
  br label %.preheader101.2.5

.preheader101.2.5:                                ; preds = %.sink.split184.4, %.critedge4.2.4, %.preheader101.2.4
  %.3.2.4 = phi i1 [ %.3.2.3, %.preheader101.2.4 ], [ %.3.2.3, %.critedge4.2.4 ], [ false, %.sink.split184.4 ]
  %559 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %.not95.2.5 = icmp eq i32 %559, 0
  br i1 %.not95.2.5, label %.preheader101.2.6, label %.preheader99.preheader.2.5

.preheader99.preheader.2.5:                       ; preds = %.preheader101.2.5
  %560 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %561 = icmp eq i32 %560, %559
  %562 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4
  %563 = icmp ne i32 %562, %559
  %spec.select182.5 = sext i1 %563 to i32
  %.078.lcssa.2.neg.5 = select i1 %561, i32 %spec.select182.5, i32 -2
  %564 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %565 = icmp eq i32 %564, %559
  %566 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4
  %567 = icmp eq i32 %566, %559
  %spec.select183.5 = select i1 %567, i32 4, i32 3
  %.077.lcssa.2.5 = select i1 %565, i32 %spec.select183.5, i32 2
  %568 = add nsw i32 %.078.lcssa.2.neg.5, %.077.lcssa.2.5
  %569 = icmp ugt i32 %568, 1
  br i1 %569, label %.sink.split184.5, label %.preheader.2.5312

.preheader.2.5312:                                ; preds = %.preheader99.preheader.2.5
  %570 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %571 = icmp eq i32 %570, %559
  br i1 %571, label %.preheader.2.1.5, label %.critedge4.2.5, !llvm.loop !13

.preheader.2.1.5:                                 ; preds = %.preheader.2.5312
  %572 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %573 = icmp eq i32 %572, %559
  br i1 %573, label %.preheader.2.2.5, label %.critedge4.2.5, !llvm.loop !13

.preheader.2.2.5:                                 ; preds = %.preheader.2.1.5
  %574 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %575 = icmp eq i32 %574, %559
  br i1 %575, label %.preheader.2.3.5, label %.critedge4.2.5, !llvm.loop !13

.preheader.2.3.5:                                 ; preds = %.preheader.2.2.5
  %576 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %577 = icmp eq i32 %576, %559
  br i1 %577, label %.preheader.2.4.5, label %.critedge4.2.5, !llvm.loop !13

.preheader.2.4.5:                                 ; preds = %.preheader.2.3.5
  %578 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %579 = icmp eq i32 %578, %559
  %spec.select396 = select i1 %579, i32 0, i32 -1
  br label %.critedge4.2.5, !llvm.loop !13

.critedge4.2.5:                                   ; preds = %.preheader.2.4.5, %.preheader.2.5312, %.preheader.2.1.5, %.preheader.2.2.5, %.preheader.2.3.5
  %.179.lcssa.2.5.neg = phi i32 [ -5, %.preheader.2.5312 ], [ -4, %.preheader.2.1.5 ], [ -3, %.preheader.2.2.5 ], [ -2, %.preheader.2.3.5 ], [ %spec.select396, %.preheader.2.4.5 ]
  %580 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %581 = icmp eq i32 %580, %559
  %.1.lcssa.2.5 = select i1 %581, i32 6, i32 5
  %582 = add i32 %.179.lcssa.2.5.neg, %.1.lcssa.2.5
  %583 = icmp sgt i32 %582, 1
  br i1 %583, label %.sink.split184.5, label %.preheader101.2.6

.sink.split184.5:                                 ; preds = %.critedge4.2.5, %.preheader99.preheader.2.5
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 76), align 4, !tbaa !7
  br label %.preheader101.2.6

.preheader101.2.6:                                ; preds = %.sink.split184.5, %.critedge4.2.5, %.preheader101.2.5
  %.3.2.5 = phi i1 [ %.3.2.4, %.preheader101.2.5 ], [ %.3.2.4, %.critedge4.2.5 ], [ false, %.sink.split184.5 ]
  %584 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %.not95.2.6 = icmp eq i32 %584, 0
  br i1 %.not95.2.6, label %.preheader101.3, label %.preheader99.preheader.2.6

.preheader99.preheader.2.6:                       ; preds = %.preheader101.2.6
  %585 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %586 = icmp eq i32 %585, %584
  %587 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8
  %588 = icmp ne i32 %587, %584
  %spec.select182.6 = sext i1 %588 to i32
  %.078.lcssa.2.neg.6 = select i1 %586, i32 %spec.select182.6, i32 -2
  %589 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %590 = icmp eq i32 %589, %584
  %591 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8
  %592 = icmp eq i32 %591, %584
  %spec.select183.6 = select i1 %592, i32 4, i32 3
  %.077.lcssa.2.6 = select i1 %590, i32 %spec.select183.6, i32 2
  %593 = add nsw i32 %.078.lcssa.2.neg.6, %.077.lcssa.2.6
  %594 = icmp ugt i32 %593, 1
  br i1 %594, label %.sink.split184.6, label %.preheader.2.6315

.preheader.2.6315:                                ; preds = %.preheader99.preheader.2.6
  %595 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %596 = icmp eq i32 %595, %584
  br i1 %596, label %.preheader.2.1.6, label %.critedge6.2.6, !llvm.loop !13

.preheader.2.1.6:                                 ; preds = %.preheader.2.6315
  %597 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %598 = icmp eq i32 %597, %584
  br i1 %598, label %.preheader.2.2.6, label %.critedge6.2.6, !llvm.loop !13

.preheader.2.2.6:                                 ; preds = %.preheader.2.1.6
  %599 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %600 = icmp eq i32 %599, %584
  br i1 %600, label %.preheader.2.3.6, label %.critedge6.2.6, !llvm.loop !13

.preheader.2.3.6:                                 ; preds = %.preheader.2.2.6
  %601 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %602 = icmp eq i32 %601, %584
  br i1 %602, label %.preheader.2.4.6, label %.critedge6.2.6, !llvm.loop !13

.preheader.2.4.6:                                 ; preds = %.preheader.2.3.6
  %603 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %604 = icmp eq i32 %603, %584
  br i1 %604, label %.preheader.2.5.6, label %.critedge6.2.6, !llvm.loop !13

.preheader.2.5.6:                                 ; preds = %.preheader.2.4.6
  %605 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %606 = icmp eq i32 %605, %584
  %spec.select397 = select i1 %606, i32 0, i32 -1
  br label %.critedge6.2.6, !llvm.loop !13

.critedge6.2.6:                                   ; preds = %.preheader.2.5.6, %.preheader.2.4.6, %.preheader.2.3.6, %.preheader.2.2.6, %.preheader.2.1.6, %.preheader.2.6315
  %.179.lcssa.2.6.neg = phi i32 [ -6, %.preheader.2.6315 ], [ -5, %.preheader.2.1.6 ], [ -4, %.preheader.2.2.6 ], [ -3, %.preheader.2.3.6 ], [ -2, %.preheader.2.4.6 ], [ %spec.select397, %.preheader.2.5.6 ]
  %607 = add i32 %.179.lcssa.2.6.neg, 6
  %608 = icmp sgt i32 %607, 1
  br i1 %608, label %.sink.split184.6, label %.preheader101.3

.sink.split184.6:                                 ; preds = %.critedge6.2.6, %.preheader99.preheader.2.6
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 80), align 16, !tbaa !7
  br label %.preheader101.3

.preheader101.3:                                  ; preds = %.preheader101.2.6, %.critedge6.2.6, %.sink.split184.6
  %.3.2.6 = phi i1 [ %.3.2.5, %.preheader101.2.6 ], [ %.3.2.5, %.critedge6.2.6 ], [ false, %.sink.split184.6 ]
  %609 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %.not95.3 = icmp eq i32 %609, 0
  br i1 %.not95.3, label %.preheader101.3.1, label %.preheader99.preheader.3

.preheader99.preheader.3:                         ; preds = %.preheader101.3
  %610 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8, !tbaa !7
  %611 = icmp eq i32 %610, %609
  br i1 %611, label %.preheader99.3.1, label %.critedge.3, !llvm.loop !14

.preheader99.3.1:                                 ; preds = %.preheader99.preheader.3
  %612 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %613 = icmp eq i32 %612, %609
  br i1 %613, label %.preheader99.3.2, label %.critedge.3, !llvm.loop !14

.preheader99.3.2:                                 ; preds = %.preheader99.3.1
  %614 = load i32, ptr @g, align 16, !tbaa !7
  %615 = icmp ne i32 %614, %609
  %spec.select185 = sext i1 %615 to i32
  br label %.critedge.3, !llvm.loop !14

.critedge.3:                                      ; preds = %.preheader99.3.2, %.preheader99.3.1, %.preheader99.preheader.3
  %.078.lcssa.3.neg = phi i32 [ -3, %.preheader99.preheader.3 ], [ -2, %.preheader99.3.1 ], [ %spec.select185, %.preheader99.3.2 ]
  %616 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %617 = icmp eq i32 %616, %609
  %spec.select186 = select i1 %617, i32 4, i32 3
  %618 = add nsw i32 %.078.lcssa.3.neg, %spec.select186
  %619 = icmp ugt i32 %618, 1
  br i1 %619, label %.sink.split187, label %.critedge4.3

.critedge4.3:                                     ; preds = %.critedge.3
  %620 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %621 = icmp eq i32 %620, %609
  br i1 %621, label %622, label %.critedge6.3, !llvm.loop !12

622:                                              ; preds = %.critedge4.3
  %623 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %624 = icmp eq i32 %623, %609
  br i1 %624, label %625, label %.critedge6.3, !llvm.loop !12

625:                                              ; preds = %622
  %626 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %627 = icmp eq i32 %626, %609
  br i1 %627, label %628, label %.critedge6.3, !llvm.loop !12

628:                                              ; preds = %625
  %629 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %630 = icmp eq i32 %629, %609
  br i1 %630, label %631, label %.critedge6.3, !llvm.loop !12

631:                                              ; preds = %628
  %632 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %633 = icmp eq i32 %632, %609
  br i1 %633, label %634, label %.critedge6.3, !llvm.loop !12

634:                                              ; preds = %631
  %635 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %636 = icmp eq i32 %635, %609
  %spec.select398 = select i1 %636, i32 6, i32 5
  br label %.critedge6.3, !llvm.loop !12

.critedge6.3:                                     ; preds = %634, %.critedge4.3, %622, %625, %628, %631
  %.1.lcssa.3 = phi i32 [ 0, %.critedge4.3 ], [ 1, %622 ], [ 2, %625 ], [ 3, %628 ], [ 4, %631 ], [ %spec.select398, %634 ]
  %637 = icmp sgt i32 %.1.lcssa.3, 1
  br i1 %637, label %.sink.split187, label %.preheader101.3.1

.sink.split187:                                   ; preds = %.critedge.3, %.critedge6.3
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 84), align 4, !tbaa !7
  br label %.preheader101.3.1

.preheader101.3.1:                                ; preds = %.sink.split187, %.critedge6.3, %.preheader101.3
  %.3.3 = phi i1 [ %.3.2.6, %.preheader101.3 ], [ %.3.2.6, %.critedge6.3 ], [ false, %.sink.split187 ]
  %638 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %.not95.3.1 = icmp eq i32 %638, 0
  br i1 %.not95.3.1, label %.preheader101.3.2, label %.preheader99.preheader.3.1

.preheader99.preheader.3.1:                       ; preds = %.preheader101.3.1
  %639 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4, !tbaa !7
  %640 = icmp eq i32 %639, %638
  br i1 %640, label %.preheader99.3.1.1, label %.critedge.3.1, !llvm.loop !14

.preheader99.3.1.1:                               ; preds = %.preheader99.preheader.3.1
  %641 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %642 = icmp eq i32 %641, %638
  br i1 %642, label %.preheader99.3.2.1, label %.critedge.3.1, !llvm.loop !14

.preheader99.3.2.1:                               ; preds = %.preheader99.3.1.1
  %643 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %644 = icmp ne i32 %643, %638
  %spec.select185.1 = sext i1 %644 to i32
  br label %.critedge.3.1, !llvm.loop !14

.critedge.3.1:                                    ; preds = %.preheader99.3.2.1, %.preheader99.3.1.1, %.preheader99.preheader.3.1
  %.078.lcssa.3.neg.1 = phi i32 [ -3, %.preheader99.preheader.3.1 ], [ -2, %.preheader99.3.1.1 ], [ %spec.select185.1, %.preheader99.3.2.1 ]
  %645 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %646 = icmp eq i32 %645, %638
  %spec.select186.1 = select i1 %646, i32 4, i32 3
  %647 = add nsw i32 %.078.lcssa.3.neg.1, %spec.select186.1
  %648 = icmp ugt i32 %647, 1
  br i1 %648, label %.sink.split187.1, label %.preheader.3.1317

.preheader.3.1317:                                ; preds = %.critedge.3.1
  %649 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %650 = icmp eq i32 %649, %638
  %.179.lcssa.3.1.neg = select i1 %650, i32 0, i32 -1
  %651 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %652 = icmp eq i32 %651, %638
  br i1 %652, label %653, label %.critedge6.3.1, !llvm.loop !12

653:                                              ; preds = %.preheader.3.1317
  %654 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %655 = icmp eq i32 %654, %638
  br i1 %655, label %656, label %.critedge6.3.1, !llvm.loop !12

656:                                              ; preds = %653
  %657 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %658 = icmp eq i32 %657, %638
  br i1 %658, label %659, label %.critedge6.3.1, !llvm.loop !12

659:                                              ; preds = %656
  %660 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %661 = icmp eq i32 %660, %638
  br i1 %661, label %662, label %.critedge6.3.1, !llvm.loop !12

662:                                              ; preds = %659
  %663 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %664 = icmp eq i32 %663, %638
  %spec.select399 = select i1 %664, i32 6, i32 5
  br label %.critedge6.3.1, !llvm.loop !12

.critedge6.3.1:                                   ; preds = %662, %.preheader.3.1317, %653, %656, %659
  %.1.lcssa.3.1 = phi i32 [ 1, %.preheader.3.1317 ], [ 2, %653 ], [ 3, %656 ], [ 4, %659 ], [ %spec.select399, %662 ]
  %665 = add i32 %.179.lcssa.3.1.neg, %.1.lcssa.3.1
  %666 = icmp sgt i32 %665, 1
  br i1 %666, label %.sink.split187.1, label %.preheader101.3.2

.sink.split187.1:                                 ; preds = %.critedge6.3.1, %.critedge.3.1
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 88), align 8, !tbaa !7
  br label %.preheader101.3.2

.preheader101.3.2:                                ; preds = %.sink.split187.1, %.critedge6.3.1, %.preheader101.3.1
  %.3.3.1 = phi i1 [ %.3.3, %.preheader101.3.1 ], [ %.3.3, %.critedge6.3.1 ], [ false, %.sink.split187.1 ]
  %667 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %.not95.3.2 = icmp eq i32 %667, 0
  br i1 %.not95.3.2, label %.preheader101.3.3, label %.preheader99.preheader.3.2

.preheader99.preheader.3.2:                       ; preds = %.preheader101.3.2
  %668 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16, !tbaa !7
  %669 = icmp eq i32 %668, %667
  br i1 %669, label %.preheader99.3.1.2, label %.critedge.3.2, !llvm.loop !14

.preheader99.3.1.2:                               ; preds = %.preheader99.preheader.3.2
  %670 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %671 = icmp eq i32 %670, %667
  br i1 %671, label %.preheader99.3.2.2, label %.critedge.3.2, !llvm.loop !14

.preheader99.3.2.2:                               ; preds = %.preheader99.3.1.2
  %672 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %673 = icmp ne i32 %672, %667
  %spec.select185.2 = sext i1 %673 to i32
  br label %.critedge.3.2, !llvm.loop !14

.critedge.3.2:                                    ; preds = %.preheader99.3.2.2, %.preheader99.3.1.2, %.preheader99.preheader.3.2
  %.078.lcssa.3.neg.2 = phi i32 [ -3, %.preheader99.preheader.3.2 ], [ -2, %.preheader99.3.1.2 ], [ %spec.select185.2, %.preheader99.3.2.2 ]
  %674 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %675 = icmp eq i32 %674, %667
  %spec.select186.2 = select i1 %675, i32 4, i32 3
  %676 = add nsw i32 %.078.lcssa.3.neg.2, %spec.select186.2
  %677 = icmp ugt i32 %676, 1
  br i1 %677, label %.sink.split187.2, label %.preheader.3.2320

.preheader.3.2320:                                ; preds = %.critedge.3.2
  %678 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %679 = icmp eq i32 %678, %667
  %680 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4
  %681 = icmp eq i32 %680, %667
  %spec.select400 = select i1 %681, i32 0, i32 -1
  %.179.lcssa.3.2.neg = select i1 %679, i32 %spec.select400, i32 -2
  %682 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %683 = icmp eq i32 %682, %667
  br i1 %683, label %684, label %.critedge6.3.2, !llvm.loop !12

684:                                              ; preds = %.preheader.3.2320
  %685 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %686 = icmp eq i32 %685, %667
  br i1 %686, label %687, label %.critedge6.3.2, !llvm.loop !12

687:                                              ; preds = %684
  %688 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %689 = icmp eq i32 %688, %667
  br i1 %689, label %690, label %.critedge6.3.2, !llvm.loop !12

690:                                              ; preds = %687
  %691 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %692 = icmp eq i32 %691, %667
  %spec.select401 = select i1 %692, i32 6, i32 5
  br label %.critedge6.3.2, !llvm.loop !12

.critedge6.3.2:                                   ; preds = %690, %.preheader.3.2320, %684, %687
  %.1.lcssa.3.2 = phi i32 [ 2, %.preheader.3.2320 ], [ 3, %684 ], [ 4, %687 ], [ %spec.select401, %690 ]
  %693 = add i32 %.179.lcssa.3.2.neg, %.1.lcssa.3.2
  %694 = icmp sgt i32 %693, 1
  br i1 %694, label %.sink.split187.2, label %.preheader101.3.3

.sink.split187.2:                                 ; preds = %.critedge6.3.2, %.critedge.3.2
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 92), align 4, !tbaa !7
  br label %.preheader101.3.3

.preheader101.3.3:                                ; preds = %.sink.split187.2, %.critedge6.3.2, %.preheader101.3.2
  %.3.3.2 = phi i1 [ %.3.3.1, %.preheader101.3.2 ], [ %.3.3.1, %.critedge6.3.2 ], [ false, %.sink.split187.2 ]
  %695 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %.not95.3.3 = icmp eq i32 %695, 0
  br i1 %.not95.3.3, label %.preheader101.3.4, label %.preheader99.preheader.3.3

.preheader99.preheader.3.3:                       ; preds = %.preheader101.3.3
  %696 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4, !tbaa !7
  %697 = icmp eq i32 %696, %695
  br i1 %697, label %.preheader99.3.1.3, label %.critedge.3.3, !llvm.loop !14

.preheader99.3.1.3:                               ; preds = %.preheader99.preheader.3.3
  %698 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %699 = icmp eq i32 %698, %695
  br i1 %699, label %.preheader99.3.2.3, label %.critedge.3.3, !llvm.loop !14

.preheader99.3.2.3:                               ; preds = %.preheader99.3.1.3
  %700 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %701 = icmp ne i32 %700, %695
  %spec.select185.3 = sext i1 %701 to i32
  br label %.critedge.3.3, !llvm.loop !14

.critedge.3.3:                                    ; preds = %.preheader99.3.2.3, %.preheader99.3.1.3, %.preheader99.preheader.3.3
  %.078.lcssa.3.neg.3 = phi i32 [ -3, %.preheader99.preheader.3.3 ], [ -2, %.preheader99.3.1.3 ], [ %spec.select185.3, %.preheader99.3.2.3 ]
  %702 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %703 = icmp eq i32 %702, %695
  %spec.select186.3 = select i1 %703, i32 4, i32 3
  %704 = add nsw i32 %.078.lcssa.3.neg.3, %spec.select186.3
  %705 = icmp ugt i32 %704, 1
  br i1 %705, label %.sink.split187.3, label %.preheader.3.3323

.preheader.3.3323:                                ; preds = %.critedge.3.3
  %706 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %707 = icmp eq i32 %706, %695
  br i1 %707, label %.preheader.3.1.3, label %.critedge4.3.3, !llvm.loop !13

.preheader.3.1.3:                                 ; preds = %.preheader.3.3323
  %708 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %709 = icmp eq i32 %708, %695
  br i1 %709, label %.preheader.3.2.3, label %.critedge4.3.3, !llvm.loop !13

.preheader.3.2.3:                                 ; preds = %.preheader.3.1.3
  %710 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %711 = icmp eq i32 %710, %695
  %spec.select402 = select i1 %711, i32 0, i32 -1
  br label %.critedge4.3.3, !llvm.loop !13

.critedge4.3.3:                                   ; preds = %.preheader.3.2.3, %.preheader.3.3323, %.preheader.3.1.3
  %.179.lcssa.3.3.neg = phi i32 [ -3, %.preheader.3.3323 ], [ -2, %.preheader.3.1.3 ], [ %spec.select402, %.preheader.3.2.3 ]
  %712 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %713 = icmp eq i32 %712, %695
  br i1 %713, label %714, label %.critedge6.3.3, !llvm.loop !12

714:                                              ; preds = %.critedge4.3.3
  %715 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %716 = icmp eq i32 %715, %695
  br i1 %716, label %717, label %.critedge6.3.3, !llvm.loop !12

717:                                              ; preds = %714
  %718 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %719 = icmp eq i32 %718, %695
  %spec.select403 = select i1 %719, i32 6, i32 5
  br label %.critedge6.3.3, !llvm.loop !12

.critedge6.3.3:                                   ; preds = %717, %.critedge4.3.3, %714
  %.1.lcssa.3.3 = phi i32 [ 3, %.critedge4.3.3 ], [ 4, %714 ], [ %spec.select403, %717 ]
  %720 = add i32 %.179.lcssa.3.3.neg, %.1.lcssa.3.3
  %721 = icmp sgt i32 %720, 1
  br i1 %721, label %.sink.split187.3, label %.preheader101.3.4

.sink.split187.3:                                 ; preds = %.critedge6.3.3, %.critedge.3.3
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 96), align 16, !tbaa !7
  br label %.preheader101.3.4

.preheader101.3.4:                                ; preds = %.sink.split187.3, %.critedge6.3.3, %.preheader101.3.3
  %.3.3.3 = phi i1 [ %.3.3.2, %.preheader101.3.3 ], [ %.3.3.2, %.critedge6.3.3 ], [ false, %.sink.split187.3 ]
  %722 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %.not95.3.4 = icmp eq i32 %722, 0
  br i1 %.not95.3.4, label %.preheader101.3.5, label %.preheader99.preheader.3.4

.preheader99.preheader.3.4:                       ; preds = %.preheader101.3.4
  %723 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8, !tbaa !7
  %724 = icmp eq i32 %723, %722
  br i1 %724, label %.preheader99.3.1.4, label %.critedge.3.4, !llvm.loop !14

.preheader99.3.1.4:                               ; preds = %.preheader99.preheader.3.4
  %725 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %726 = icmp eq i32 %725, %722
  br i1 %726, label %.preheader99.3.2.4, label %.critedge.3.4, !llvm.loop !14

.preheader99.3.2.4:                               ; preds = %.preheader99.3.1.4
  %727 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %728 = icmp ne i32 %727, %722
  %spec.select185.4 = sext i1 %728 to i32
  br label %.critedge.3.4, !llvm.loop !14

.critedge.3.4:                                    ; preds = %.preheader99.3.2.4, %.preheader99.3.1.4, %.preheader99.preheader.3.4
  %.078.lcssa.3.neg.4 = phi i32 [ -3, %.preheader99.preheader.3.4 ], [ -2, %.preheader99.3.1.4 ], [ %spec.select185.4, %.preheader99.3.2.4 ]
  %729 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %730 = icmp eq i32 %729, %722
  %spec.select186.4 = select i1 %730, i32 4, i32 3
  %731 = add nsw i32 %.078.lcssa.3.neg.4, %spec.select186.4
  %732 = icmp ugt i32 %731, 1
  br i1 %732, label %.sink.split187.4, label %.preheader.3.4326

.preheader.3.4326:                                ; preds = %.critedge.3.4
  %733 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %734 = icmp eq i32 %733, %722
  br i1 %734, label %.preheader.3.1.4, label %.critedge4.3.4, !llvm.loop !13

.preheader.3.1.4:                                 ; preds = %.preheader.3.4326
  %735 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %736 = icmp eq i32 %735, %722
  br i1 %736, label %.preheader.3.2.4, label %.critedge4.3.4, !llvm.loop !13

.preheader.3.2.4:                                 ; preds = %.preheader.3.1.4
  %737 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %738 = icmp eq i32 %737, %722
  br i1 %738, label %.preheader.3.3.4, label %.critedge4.3.4, !llvm.loop !13

.preheader.3.3.4:                                 ; preds = %.preheader.3.2.4
  %739 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %740 = icmp eq i32 %739, %722
  %spec.select404 = select i1 %740, i32 0, i32 -1
  br label %.critedge4.3.4, !llvm.loop !13

.critedge4.3.4:                                   ; preds = %.preheader.3.3.4, %.preheader.3.4326, %.preheader.3.1.4, %.preheader.3.2.4
  %.179.lcssa.3.4.neg = phi i32 [ -4, %.preheader.3.4326 ], [ -3, %.preheader.3.1.4 ], [ -2, %.preheader.3.2.4 ], [ %spec.select404, %.preheader.3.3.4 ]
  %741 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %742 = icmp eq i32 %741, %722
  %743 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4
  %744 = icmp eq i32 %743, %722
  %spec.select405 = select i1 %744, i32 6, i32 5
  %.1.lcssa.3.4 = select i1 %742, i32 %spec.select405, i32 4
  %745 = add i32 %.179.lcssa.3.4.neg, %.1.lcssa.3.4
  %746 = icmp sgt i32 %745, 1
  br i1 %746, label %.sink.split187.4, label %.preheader101.3.5

.sink.split187.4:                                 ; preds = %.critedge4.3.4, %.critedge.3.4
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 100), align 4, !tbaa !7
  br label %.preheader101.3.5

.preheader101.3.5:                                ; preds = %.sink.split187.4, %.critedge4.3.4, %.preheader101.3.4
  %.3.3.4 = phi i1 [ %.3.3.3, %.preheader101.3.4 ], [ %.3.3.3, %.critedge4.3.4 ], [ false, %.sink.split187.4 ]
  %747 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %.not95.3.5 = icmp eq i32 %747, 0
  br i1 %.not95.3.5, label %.preheader101.3.6, label %.preheader99.preheader.3.5

.preheader99.preheader.3.5:                       ; preds = %.preheader101.3.5
  %748 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4, !tbaa !7
  %749 = icmp eq i32 %748, %747
  br i1 %749, label %.preheader99.3.1.5, label %.critedge.3.5, !llvm.loop !14

.preheader99.3.1.5:                               ; preds = %.preheader99.preheader.3.5
  %750 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %751 = icmp eq i32 %750, %747
  br i1 %751, label %.preheader99.3.2.5, label %.critedge.3.5, !llvm.loop !14

.preheader99.3.2.5:                               ; preds = %.preheader99.3.1.5
  %752 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %753 = icmp ne i32 %752, %747
  %spec.select185.5 = sext i1 %753 to i32
  br label %.critedge.3.5, !llvm.loop !14

.critedge.3.5:                                    ; preds = %.preheader99.3.2.5, %.preheader99.3.1.5, %.preheader99.preheader.3.5
  %.078.lcssa.3.neg.5 = phi i32 [ -3, %.preheader99.preheader.3.5 ], [ -2, %.preheader99.3.1.5 ], [ %spec.select185.5, %.preheader99.3.2.5 ]
  %754 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %755 = icmp eq i32 %754, %747
  %spec.select186.5 = select i1 %755, i32 4, i32 3
  %756 = add nsw i32 %.078.lcssa.3.neg.5, %spec.select186.5
  %757 = icmp ugt i32 %756, 1
  br i1 %757, label %.sink.split187.5, label %.preheader.3.5329

.preheader.3.5329:                                ; preds = %.critedge.3.5
  %758 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %759 = icmp eq i32 %758, %747
  br i1 %759, label %.preheader.3.1.5, label %.critedge4.3.5, !llvm.loop !13

.preheader.3.1.5:                                 ; preds = %.preheader.3.5329
  %760 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %761 = icmp eq i32 %760, %747
  br i1 %761, label %.preheader.3.2.5, label %.critedge4.3.5, !llvm.loop !13

.preheader.3.2.5:                                 ; preds = %.preheader.3.1.5
  %762 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %763 = icmp eq i32 %762, %747
  br i1 %763, label %.preheader.3.3.5, label %.critedge4.3.5, !llvm.loop !13

.preheader.3.3.5:                                 ; preds = %.preheader.3.2.5
  %764 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %765 = icmp eq i32 %764, %747
  br i1 %765, label %.preheader.3.4.5, label %.critedge4.3.5, !llvm.loop !13

.preheader.3.4.5:                                 ; preds = %.preheader.3.3.5
  %766 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %767 = icmp eq i32 %766, %747
  %spec.select406 = select i1 %767, i32 0, i32 -1
  br label %.critedge4.3.5, !llvm.loop !13

.critedge4.3.5:                                   ; preds = %.preheader.3.4.5, %.preheader.3.5329, %.preheader.3.1.5, %.preheader.3.2.5, %.preheader.3.3.5
  %.179.lcssa.3.5.neg = phi i32 [ -5, %.preheader.3.5329 ], [ -4, %.preheader.3.1.5 ], [ -3, %.preheader.3.2.5 ], [ -2, %.preheader.3.3.5 ], [ %spec.select406, %.preheader.3.4.5 ]
  %768 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %769 = icmp eq i32 %768, %747
  %.1.lcssa.3.5 = select i1 %769, i32 6, i32 5
  %770 = add i32 %.179.lcssa.3.5.neg, %.1.lcssa.3.5
  %771 = icmp sgt i32 %770, 1
  br i1 %771, label %.sink.split187.5, label %.preheader101.3.6

.sink.split187.5:                                 ; preds = %.critedge4.3.5, %.critedge.3.5
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 104), align 8, !tbaa !7
  br label %.preheader101.3.6

.preheader101.3.6:                                ; preds = %.sink.split187.5, %.critedge4.3.5, %.preheader101.3.5
  %.3.3.5 = phi i1 [ %.3.3.4, %.preheader101.3.5 ], [ %.3.3.4, %.critedge4.3.5 ], [ false, %.sink.split187.5 ]
  %772 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %.not95.3.6 = icmp eq i32 %772, 0
  br i1 %.not95.3.6, label %.preheader101.4, label %.preheader99.preheader.3.6

.preheader99.preheader.3.6:                       ; preds = %.preheader101.3.6
  %773 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16, !tbaa !7
  %774 = icmp eq i32 %773, %772
  br i1 %774, label %.preheader99.3.1.6, label %.critedge.3.6, !llvm.loop !14

.preheader99.3.1.6:                               ; preds = %.preheader99.preheader.3.6
  %775 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %776 = icmp eq i32 %775, %772
  br i1 %776, label %.preheader99.3.2.6, label %.critedge.3.6, !llvm.loop !14

.preheader99.3.2.6:                               ; preds = %.preheader99.3.1.6
  %777 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %778 = icmp ne i32 %777, %772
  %spec.select185.6 = sext i1 %778 to i32
  br label %.critedge.3.6, !llvm.loop !14

.critedge.3.6:                                    ; preds = %.preheader99.3.2.6, %.preheader99.3.1.6, %.preheader99.preheader.3.6
  %.078.lcssa.3.neg.6 = phi i32 [ -3, %.preheader99.preheader.3.6 ], [ -2, %.preheader99.3.1.6 ], [ %spec.select185.6, %.preheader99.3.2.6 ]
  %779 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %780 = icmp eq i32 %779, %772
  %spec.select186.6 = select i1 %780, i32 4, i32 3
  %781 = add nsw i32 %.078.lcssa.3.neg.6, %spec.select186.6
  %782 = icmp ugt i32 %781, 1
  br i1 %782, label %.sink.split187.6, label %.preheader.3.6332

.preheader.3.6332:                                ; preds = %.critedge.3.6
  %783 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %784 = icmp eq i32 %783, %772
  br i1 %784, label %.preheader.3.1.6, label %.critedge6.3.6, !llvm.loop !13

.preheader.3.1.6:                                 ; preds = %.preheader.3.6332
  %785 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %786 = icmp eq i32 %785, %772
  br i1 %786, label %.preheader.3.2.6, label %.critedge6.3.6, !llvm.loop !13

.preheader.3.2.6:                                 ; preds = %.preheader.3.1.6
  %787 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %788 = icmp eq i32 %787, %772
  br i1 %788, label %.preheader.3.3.6, label %.critedge6.3.6, !llvm.loop !13

.preheader.3.3.6:                                 ; preds = %.preheader.3.2.6
  %789 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %790 = icmp eq i32 %789, %772
  br i1 %790, label %.preheader.3.4.6, label %.critedge6.3.6, !llvm.loop !13

.preheader.3.4.6:                                 ; preds = %.preheader.3.3.6
  %791 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %792 = icmp eq i32 %791, %772
  br i1 %792, label %.preheader.3.5.6, label %.critedge6.3.6, !llvm.loop !13

.preheader.3.5.6:                                 ; preds = %.preheader.3.4.6
  %793 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %794 = icmp eq i32 %793, %772
  %spec.select407 = select i1 %794, i32 0, i32 -1
  br label %.critedge6.3.6, !llvm.loop !13

.critedge6.3.6:                                   ; preds = %.preheader.3.5.6, %.preheader.3.4.6, %.preheader.3.3.6, %.preheader.3.2.6, %.preheader.3.1.6, %.preheader.3.6332
  %.179.lcssa.3.6.neg = phi i32 [ -6, %.preheader.3.6332 ], [ -5, %.preheader.3.1.6 ], [ -4, %.preheader.3.2.6 ], [ -3, %.preheader.3.3.6 ], [ -2, %.preheader.3.4.6 ], [ %spec.select407, %.preheader.3.5.6 ]
  %795 = add i32 %.179.lcssa.3.6.neg, 6
  %796 = icmp sgt i32 %795, 1
  br i1 %796, label %.sink.split187.6, label %.preheader101.4

.sink.split187.6:                                 ; preds = %.critedge6.3.6, %.critedge.3.6
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 108), align 4, !tbaa !7
  br label %.preheader101.4

.preheader101.4:                                  ; preds = %.preheader101.3.6, %.critedge6.3.6, %.sink.split187.6
  %.3.3.6 = phi i1 [ %.3.3.5, %.preheader101.3.6 ], [ %.3.3.5, %.critedge6.3.6 ], [ false, %.sink.split187.6 ]
  %797 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %.not95.4 = icmp eq i32 %797, 0
  br i1 %.not95.4, label %.preheader101.4.1, label %.preheader99.preheader.4

.preheader99.preheader.4:                         ; preds = %.preheader101.4
  %798 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 84), align 4, !tbaa !7
  %799 = icmp eq i32 %798, %797
  %800 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8
  %801 = icmp eq i32 %800, %797
  %or.cond = select i1 %799, i1 %801, i1 false
  br i1 %or.cond, label %.sink.split188, label %.critedge4.4, !llvm.loop !14

.critedge4.4:                                     ; preds = %.preheader99.preheader.4
  %802 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %803 = icmp eq i32 %802, %797
  br i1 %803, label %804, label %.critedge6.4, !llvm.loop !12

804:                                              ; preds = %.critedge4.4
  %805 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %806 = icmp eq i32 %805, %797
  br i1 %806, label %807, label %.critedge6.4, !llvm.loop !12

807:                                              ; preds = %804
  %808 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %809 = icmp eq i32 %808, %797
  br i1 %809, label %810, label %.critedge6.4, !llvm.loop !12

810:                                              ; preds = %807
  %811 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %812 = icmp eq i32 %811, %797
  br i1 %812, label %813, label %.critedge6.4, !llvm.loop !12

813:                                              ; preds = %810
  %814 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %815 = icmp eq i32 %814, %797
  br i1 %815, label %816, label %.critedge6.4, !llvm.loop !12

816:                                              ; preds = %813
  %817 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %818 = icmp eq i32 %817, %797
  %spec.select408 = select i1 %818, i32 6, i32 5
  br label %.critedge6.4, !llvm.loop !12

.critedge6.4:                                     ; preds = %816, %.critedge4.4, %804, %807, %810, %813
  %.1.lcssa.4 = phi i32 [ 0, %.critedge4.4 ], [ 1, %804 ], [ 2, %807 ], [ 3, %810 ], [ 4, %813 ], [ %spec.select408, %816 ]
  %819 = icmp sgt i32 %.1.lcssa.4, 1
  br i1 %819, label %.sink.split188, label %.preheader101.4.1

.sink.split188:                                   ; preds = %.preheader99.preheader.4, %.critedge6.4
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 112), align 16, !tbaa !7
  br label %.preheader101.4.1

.preheader101.4.1:                                ; preds = %.sink.split188, %.critedge6.4, %.preheader101.4
  %.3.4 = phi i1 [ %.3.3.6, %.preheader101.4 ], [ %.3.3.6, %.critedge6.4 ], [ false, %.sink.split188 ]
  %820 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %.not95.4.1 = icmp eq i32 %820, 0
  br i1 %.not95.4.1, label %.preheader101.4.2, label %.preheader99.preheader.4.1

.preheader99.preheader.4.1:                       ; preds = %.preheader101.4.1
  %821 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 88), align 8, !tbaa !7
  %822 = icmp eq i32 %821, %820
  %823 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4
  %824 = icmp eq i32 %823, %820
  %or.cond353 = select i1 %822, i1 %824, i1 false
  br i1 %or.cond353, label %.sink.split188.1, label %.preheader.4.1334, !llvm.loop !14

.preheader.4.1334:                                ; preds = %.preheader99.preheader.4.1
  %825 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %826 = icmp eq i32 %825, %820
  %.179.lcssa.4.1.neg = select i1 %826, i32 0, i32 -1
  %827 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %828 = icmp eq i32 %827, %820
  br i1 %828, label %829, label %.critedge6.4.1, !llvm.loop !12

829:                                              ; preds = %.preheader.4.1334
  %830 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %831 = icmp eq i32 %830, %820
  br i1 %831, label %832, label %.critedge6.4.1, !llvm.loop !12

832:                                              ; preds = %829
  %833 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %834 = icmp eq i32 %833, %820
  br i1 %834, label %835, label %.critedge6.4.1, !llvm.loop !12

835:                                              ; preds = %832
  %836 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %837 = icmp eq i32 %836, %820
  br i1 %837, label %838, label %.critedge6.4.1, !llvm.loop !12

838:                                              ; preds = %835
  %839 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %840 = icmp eq i32 %839, %820
  %spec.select409 = select i1 %840, i32 6, i32 5
  br label %.critedge6.4.1, !llvm.loop !12

.critedge6.4.1:                                   ; preds = %838, %.preheader.4.1334, %829, %832, %835
  %.1.lcssa.4.1 = phi i32 [ 1, %.preheader.4.1334 ], [ 2, %829 ], [ 3, %832 ], [ 4, %835 ], [ %spec.select409, %838 ]
  %841 = add i32 %.179.lcssa.4.1.neg, %.1.lcssa.4.1
  %842 = icmp sgt i32 %841, 1
  br i1 %842, label %.sink.split188.1, label %.preheader101.4.2

.sink.split188.1:                                 ; preds = %.preheader99.preheader.4.1, %.critedge6.4.1
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 116), align 4, !tbaa !7
  br label %.preheader101.4.2

.preheader101.4.2:                                ; preds = %.sink.split188.1, %.critedge6.4.1, %.preheader101.4.1
  %.3.4.1 = phi i1 [ %.3.4, %.preheader101.4.1 ], [ %.3.4, %.critedge6.4.1 ], [ false, %.sink.split188.1 ]
  %843 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %.not95.4.2 = icmp eq i32 %843, 0
  br i1 %.not95.4.2, label %.preheader101.4.3, label %.preheader99.preheader.4.2

.preheader99.preheader.4.2:                       ; preds = %.preheader101.4.2
  %844 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 92), align 4, !tbaa !7
  %845 = icmp eq i32 %844, %843
  %846 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16
  %847 = icmp eq i32 %846, %843
  %or.cond355 = select i1 %845, i1 %847, i1 false
  br i1 %or.cond355, label %.sink.split188.2, label %.preheader.4.2337, !llvm.loop !14

.preheader.4.2337:                                ; preds = %.preheader99.preheader.4.2
  %848 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %849 = icmp eq i32 %848, %843
  %850 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16
  %851 = icmp eq i32 %850, %843
  %spec.select410 = select i1 %851, i32 0, i32 -1
  %.179.lcssa.4.2.neg = select i1 %849, i32 %spec.select410, i32 -2
  %852 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %853 = icmp eq i32 %852, %843
  br i1 %853, label %854, label %.critedge6.4.2, !llvm.loop !12

854:                                              ; preds = %.preheader.4.2337
  %855 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %856 = icmp eq i32 %855, %843
  br i1 %856, label %857, label %.critedge6.4.2, !llvm.loop !12

857:                                              ; preds = %854
  %858 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %859 = icmp eq i32 %858, %843
  br i1 %859, label %860, label %.critedge6.4.2, !llvm.loop !12

860:                                              ; preds = %857
  %861 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %862 = icmp eq i32 %861, %843
  %spec.select411 = select i1 %862, i32 6, i32 5
  br label %.critedge6.4.2, !llvm.loop !12

.critedge6.4.2:                                   ; preds = %860, %.preheader.4.2337, %854, %857
  %.1.lcssa.4.2 = phi i32 [ 2, %.preheader.4.2337 ], [ 3, %854 ], [ 4, %857 ], [ %spec.select411, %860 ]
  %863 = add i32 %.179.lcssa.4.2.neg, %.1.lcssa.4.2
  %864 = icmp sgt i32 %863, 1
  br i1 %864, label %.sink.split188.2, label %.preheader101.4.3

.sink.split188.2:                                 ; preds = %.preheader99.preheader.4.2, %.critedge6.4.2
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 120), align 8, !tbaa !7
  br label %.preheader101.4.3

.preheader101.4.3:                                ; preds = %.sink.split188.2, %.critedge6.4.2, %.preheader101.4.2
  %.3.4.2 = phi i1 [ %.3.4.1, %.preheader101.4.2 ], [ %.3.4.1, %.critedge6.4.2 ], [ false, %.sink.split188.2 ]
  %865 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %.not95.4.3 = icmp eq i32 %865, 0
  br i1 %.not95.4.3, label %.preheader101.4.4, label %.preheader99.preheader.4.3

.preheader99.preheader.4.3:                       ; preds = %.preheader101.4.3
  %866 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 96), align 16, !tbaa !7
  %867 = icmp eq i32 %866, %865
  %868 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4
  %869 = icmp eq i32 %868, %865
  %or.cond357 = select i1 %867, i1 %869, i1 false
  br i1 %or.cond357, label %.sink.split188.3, label %.preheader.4.3340, !llvm.loop !14

.preheader.4.3340:                                ; preds = %.preheader99.preheader.4.3
  %870 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %871 = icmp eq i32 %870, %865
  br i1 %871, label %.preheader.4.1.3, label %.critedge4.4.3, !llvm.loop !13

.preheader.4.1.3:                                 ; preds = %.preheader.4.3340
  %872 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %873 = icmp eq i32 %872, %865
  br i1 %873, label %.preheader.4.2.3, label %.critedge4.4.3, !llvm.loop !13

.preheader.4.2.3:                                 ; preds = %.preheader.4.1.3
  %874 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %875 = icmp eq i32 %874, %865
  %spec.select412 = select i1 %875, i32 0, i32 -1
  br label %.critedge4.4.3, !llvm.loop !13

.critedge4.4.3:                                   ; preds = %.preheader.4.2.3, %.preheader.4.3340, %.preheader.4.1.3
  %.179.lcssa.4.3.neg = phi i32 [ -3, %.preheader.4.3340 ], [ -2, %.preheader.4.1.3 ], [ %spec.select412, %.preheader.4.2.3 ]
  %876 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %877 = icmp eq i32 %876, %865
  br i1 %877, label %878, label %.critedge6.4.3, !llvm.loop !12

878:                                              ; preds = %.critedge4.4.3
  %879 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %880 = icmp eq i32 %879, %865
  br i1 %880, label %881, label %.critedge6.4.3, !llvm.loop !12

881:                                              ; preds = %878
  %882 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %883 = icmp eq i32 %882, %865
  %spec.select413 = select i1 %883, i32 6, i32 5
  br label %.critedge6.4.3, !llvm.loop !12

.critedge6.4.3:                                   ; preds = %881, %.critedge4.4.3, %878
  %.1.lcssa.4.3 = phi i32 [ 3, %.critedge4.4.3 ], [ 4, %878 ], [ %spec.select413, %881 ]
  %884 = add i32 %.179.lcssa.4.3.neg, %.1.lcssa.4.3
  %885 = icmp sgt i32 %884, 1
  br i1 %885, label %.sink.split188.3, label %.preheader101.4.4

.sink.split188.3:                                 ; preds = %.preheader99.preheader.4.3, %.critedge6.4.3
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 124), align 4, !tbaa !7
  br label %.preheader101.4.4

.preheader101.4.4:                                ; preds = %.sink.split188.3, %.critedge6.4.3, %.preheader101.4.3
  %.3.4.3 = phi i1 [ %.3.4.2, %.preheader101.4.3 ], [ %.3.4.2, %.critedge6.4.3 ], [ false, %.sink.split188.3 ]
  %886 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %.not95.4.4 = icmp eq i32 %886, 0
  br i1 %.not95.4.4, label %.preheader101.4.5, label %.preheader99.preheader.4.4

.preheader99.preheader.4.4:                       ; preds = %.preheader101.4.4
  %887 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 100), align 4, !tbaa !7
  %888 = icmp eq i32 %887, %886
  %889 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8
  %890 = icmp eq i32 %889, %886
  %or.cond359 = select i1 %888, i1 %890, i1 false
  br i1 %or.cond359, label %.sink.split188.4, label %.preheader.4.4343, !llvm.loop !14

.preheader.4.4343:                                ; preds = %.preheader99.preheader.4.4
  %891 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %892 = icmp eq i32 %891, %886
  br i1 %892, label %.preheader.4.1.4, label %.critedge4.4.4, !llvm.loop !13

.preheader.4.1.4:                                 ; preds = %.preheader.4.4343
  %893 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %894 = icmp eq i32 %893, %886
  br i1 %894, label %.preheader.4.2.4, label %.critedge4.4.4, !llvm.loop !13

.preheader.4.2.4:                                 ; preds = %.preheader.4.1.4
  %895 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %896 = icmp eq i32 %895, %886
  br i1 %896, label %.preheader.4.3.4, label %.critedge4.4.4, !llvm.loop !13

.preheader.4.3.4:                                 ; preds = %.preheader.4.2.4
  %897 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %898 = icmp eq i32 %897, %886
  %spec.select414 = select i1 %898, i32 0, i32 -1
  br label %.critedge4.4.4, !llvm.loop !13

.critedge4.4.4:                                   ; preds = %.preheader.4.3.4, %.preheader.4.4343, %.preheader.4.1.4, %.preheader.4.2.4
  %.179.lcssa.4.4.neg = phi i32 [ -4, %.preheader.4.4343 ], [ -3, %.preheader.4.1.4 ], [ -2, %.preheader.4.2.4 ], [ %spec.select414, %.preheader.4.3.4 ]
  %899 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %900 = icmp eq i32 %899, %886
  %901 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8
  %902 = icmp eq i32 %901, %886
  %spec.select415 = select i1 %902, i32 6, i32 5
  %.1.lcssa.4.4 = select i1 %900, i32 %spec.select415, i32 4
  %903 = add i32 %.179.lcssa.4.4.neg, %.1.lcssa.4.4
  %904 = icmp sgt i32 %903, 1
  br i1 %904, label %.sink.split188.4, label %.preheader101.4.5

.sink.split188.4:                                 ; preds = %.preheader99.preheader.4.4, %.critedge4.4.4
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 128), align 16, !tbaa !7
  br label %.preheader101.4.5

.preheader101.4.5:                                ; preds = %.sink.split188.4, %.critedge4.4.4, %.preheader101.4.4
  %.3.4.4 = phi i1 [ %.3.4.3, %.preheader101.4.4 ], [ %.3.4.3, %.critedge4.4.4 ], [ false, %.sink.split188.4 ]
  %905 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %.not95.4.5 = icmp eq i32 %905, 0
  br i1 %.not95.4.5, label %.preheader101.4.6, label %.preheader99.preheader.4.5

.preheader99.preheader.4.5:                       ; preds = %.preheader101.4.5
  %906 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 104), align 8, !tbaa !7
  %907 = icmp eq i32 %906, %905
  %908 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4
  %909 = icmp eq i32 %908, %905
  %or.cond361 = select i1 %907, i1 %909, i1 false
  br i1 %or.cond361, label %.sink.split188.5, label %.preheader.4.5346, !llvm.loop !14

.preheader.4.5346:                                ; preds = %.preheader99.preheader.4.5
  %910 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %911 = icmp eq i32 %910, %905
  br i1 %911, label %.preheader.4.1.5, label %.critedge4.4.5, !llvm.loop !13

.preheader.4.1.5:                                 ; preds = %.preheader.4.5346
  %912 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %913 = icmp eq i32 %912, %905
  br i1 %913, label %.preheader.4.2.5, label %.critedge4.4.5, !llvm.loop !13

.preheader.4.2.5:                                 ; preds = %.preheader.4.1.5
  %914 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %915 = icmp eq i32 %914, %905
  br i1 %915, label %.preheader.4.3.5, label %.critedge4.4.5, !llvm.loop !13

.preheader.4.3.5:                                 ; preds = %.preheader.4.2.5
  %916 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %917 = icmp eq i32 %916, %905
  br i1 %917, label %.preheader.4.4.5, label %.critedge4.4.5, !llvm.loop !13

.preheader.4.4.5:                                 ; preds = %.preheader.4.3.5
  %918 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %919 = icmp eq i32 %918, %905
  %spec.select416 = select i1 %919, i32 0, i32 -1
  br label %.critedge4.4.5, !llvm.loop !13

.critedge4.4.5:                                   ; preds = %.preheader.4.4.5, %.preheader.4.5346, %.preheader.4.1.5, %.preheader.4.2.5, %.preheader.4.3.5
  %.179.lcssa.4.5.neg = phi i32 [ -5, %.preheader.4.5346 ], [ -4, %.preheader.4.1.5 ], [ -3, %.preheader.4.2.5 ], [ -2, %.preheader.4.3.5 ], [ %spec.select416, %.preheader.4.4.5 ]
  %920 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %921 = icmp eq i32 %920, %905
  %.1.lcssa.4.5 = select i1 %921, i32 6, i32 5
  %922 = add i32 %.179.lcssa.4.5.neg, %.1.lcssa.4.5
  %923 = icmp sgt i32 %922, 1
  br i1 %923, label %.sink.split188.5, label %.preheader101.4.6

.sink.split188.5:                                 ; preds = %.preheader99.preheader.4.5, %.critedge4.4.5
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 132), align 4, !tbaa !7
  br label %.preheader101.4.6

.preheader101.4.6:                                ; preds = %.sink.split188.5, %.critedge4.4.5, %.preheader101.4.5
  %.3.4.5 = phi i1 [ %.3.4.4, %.preheader101.4.5 ], [ %.3.4.4, %.critedge4.4.5 ], [ false, %.sink.split188.5 ]
  %924 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 136), align 8, !tbaa !7
  %.not95.4.6 = icmp eq i32 %924, 0
  br i1 %.not95.4.6, label %943, label %.preheader99.preheader.4.6

.preheader99.preheader.4.6:                       ; preds = %.preheader101.4.6
  %925 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 108), align 4, !tbaa !7
  %926 = icmp eq i32 %925, %924
  %927 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16
  %928 = icmp eq i32 %927, %924
  %or.cond363 = select i1 %926, i1 %928, i1 false
  br i1 %or.cond363, label %.sink.split188.6, label %.preheader.4.6349, !llvm.loop !14

.preheader.4.6349:                                ; preds = %.preheader99.preheader.4.6
  %929 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 132), align 4, !tbaa !7
  %930 = icmp eq i32 %929, %924
  br i1 %930, label %.preheader.4.1.6, label %.critedge6.4.6, !llvm.loop !13

.preheader.4.1.6:                                 ; preds = %.preheader.4.6349
  %931 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 128), align 16, !tbaa !7
  %932 = icmp eq i32 %931, %924
  br i1 %932, label %.preheader.4.2.6, label %.critedge6.4.6, !llvm.loop !13

.preheader.4.2.6:                                 ; preds = %.preheader.4.1.6
  %933 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 124), align 4, !tbaa !7
  %934 = icmp eq i32 %933, %924
  br i1 %934, label %.preheader.4.3.6, label %.critedge6.4.6, !llvm.loop !13

.preheader.4.3.6:                                 ; preds = %.preheader.4.2.6
  %935 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 120), align 8, !tbaa !7
  %936 = icmp eq i32 %935, %924
  br i1 %936, label %.preheader.4.4.6, label %.critedge6.4.6, !llvm.loop !13

.preheader.4.4.6:                                 ; preds = %.preheader.4.3.6
  %937 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 116), align 4, !tbaa !7
  %938 = icmp eq i32 %937, %924
  br i1 %938, label %.preheader.4.5.6, label %.critedge6.4.6, !llvm.loop !13

.preheader.4.5.6:                                 ; preds = %.preheader.4.4.6
  %939 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 112), align 16, !tbaa !7
  %940 = icmp eq i32 %939, %924
  %spec.select417 = select i1 %940, i32 0, i32 -1
  br label %.critedge6.4.6, !llvm.loop !13

.critedge6.4.6:                                   ; preds = %.preheader.4.5.6, %.preheader.4.4.6, %.preheader.4.3.6, %.preheader.4.2.6, %.preheader.4.1.6, %.preheader.4.6349
  %.179.lcssa.4.6.neg = phi i32 [ -6, %.preheader.4.6349 ], [ -5, %.preheader.4.1.6 ], [ -4, %.preheader.4.2.6 ], [ -3, %.preheader.4.3.6 ], [ -2, %.preheader.4.4.6 ], [ %spec.select417, %.preheader.4.5.6 ]
  %941 = add i32 %.179.lcssa.4.6.neg, 6
  %942 = icmp sgt i32 %941, 1
  br i1 %942, label %.sink.split188.6, label %943

.sink.split188.6:                                 ; preds = %.preheader99.preheader.4.6, %.critedge6.4.6
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 136), align 8, !tbaa !7
  br label %.preheader100.preheader

943:                                              ; preds = %.critedge6.4.6, %.preheader101.4.6
  br i1 %.3.4.5, label %1180, label %.preheader100.preheader

.preheader100.preheader:                          ; preds = %.sink.split188.6, %943
  br label %.preheader100

.preheader99.preheader:                           ; preds = %._crit_edge.4
  %944 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %945 = icmp eq i32 %944, %219
  %946 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 56), align 8
  %947 = icmp eq i32 %946, %219
  %or.cond365 = select i1 %945, i1 %947, i1 false
  br i1 %or.cond365, label %.sink.split189, label %.critedge4, !llvm.loop !11

.critedge4:                                       ; preds = %.preheader99.preheader
  %948 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %949 = icmp eq i32 %948, %219
  br i1 %949, label %950, label %.critedge6, !llvm.loop !12

950:                                              ; preds = %.critedge4
  %951 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %952 = icmp eq i32 %951, %219
  br i1 %952, label %953, label %.critedge6, !llvm.loop !12

953:                                              ; preds = %950
  %954 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %955 = icmp eq i32 %954, %219
  br i1 %955, label %956, label %.critedge6, !llvm.loop !12

956:                                              ; preds = %953
  %957 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %958 = icmp eq i32 %957, %219
  br i1 %958, label %959, label %.critedge6, !llvm.loop !12

959:                                              ; preds = %956
  %960 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %961 = icmp eq i32 %960, %219
  br i1 %961, label %962, label %.critedge6, !llvm.loop !12

962:                                              ; preds = %959
  %963 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %964 = icmp eq i32 %963, %219
  %spec.select418 = select i1 %964, i32 6, i32 5
  br label %.critedge6, !llvm.loop !12

.critedge6:                                       ; preds = %962, %.critedge4, %950, %953, %956, %959
  %.1.lcssa = phi i32 [ 0, %.critedge4 ], [ 1, %950 ], [ 2, %953 ], [ 3, %956 ], [ 4, %959 ], [ %spec.select418, %962 ]
  %965 = icmp sgt i32 %.1.lcssa, 1
  br i1 %965, label %.sink.split189, label %966

.sink.split189:                                   ; preds = %.preheader99.preheader, %.critedge6
  store i32 1, ptr @st, align 16, !tbaa !7
  br label %966

966:                                              ; preds = %.sink.split189, %.critedge6, %._crit_edge.4
  %.3 = phi i1 [ true, %._crit_edge.4 ], [ true, %.critedge6 ], [ false, %.sink.split189 ]
  %967 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %.not95.1228 = icmp eq i32 %967, 0
  br i1 %.not95.1228, label %990, label %.preheader99.preheader.1229

.preheader99.preheader.1229:                      ; preds = %966
  %968 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 32), align 16, !tbaa !7
  %969 = icmp eq i32 %968, %967
  %970 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 60), align 4
  %971 = icmp eq i32 %970, %967
  %or.cond367 = select i1 %969, i1 %971, i1 false
  br i1 %or.cond367, label %.sink.split189.1, label %.preheader.1230, !llvm.loop !11

.preheader.1230:                                  ; preds = %.preheader99.preheader.1229
  %972 = load i32, ptr @g, align 16, !tbaa !7
  %973 = icmp eq i32 %972, %967
  %.179.lcssa.1231.neg = select i1 %973, i32 0, i32 -1
  %974 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %975 = icmp eq i32 %974, %967
  br i1 %975, label %976, label %.critedge6.1236, !llvm.loop !12

976:                                              ; preds = %.preheader.1230
  %977 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %978 = icmp eq i32 %977, %967
  br i1 %978, label %979, label %.critedge6.1236, !llvm.loop !12

979:                                              ; preds = %976
  %980 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %981 = icmp eq i32 %980, %967
  br i1 %981, label %982, label %.critedge6.1236, !llvm.loop !12

982:                                              ; preds = %979
  %983 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %984 = icmp eq i32 %983, %967
  br i1 %984, label %985, label %.critedge6.1236, !llvm.loop !12

985:                                              ; preds = %982
  %986 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %987 = icmp eq i32 %986, %967
  %spec.select419 = select i1 %987, i32 6, i32 5
  br label %.critedge6.1236, !llvm.loop !12

.critedge6.1236:                                  ; preds = %985, %.preheader.1230, %976, %979, %982
  %.1.lcssa.1235 = phi i32 [ 1, %.preheader.1230 ], [ 2, %976 ], [ 3, %979 ], [ 4, %982 ], [ %spec.select419, %985 ]
  %988 = add i32 %.179.lcssa.1231.neg, %.1.lcssa.1235
  %989 = icmp sgt i32 %988, 1
  br i1 %989, label %.sink.split189.1, label %990

.sink.split189.1:                                 ; preds = %.preheader99.preheader.1229, %.critedge6.1236
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 4), align 4, !tbaa !7
  br label %990

990:                                              ; preds = %.sink.split189.1, %.critedge6.1236, %966
  %.3.1237 = phi i1 [ %.3, %966 ], [ %.3, %.critedge6.1236 ], [ false, %.sink.split189.1 ]
  %991 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %.not95.2241 = icmp eq i32 %991, 0
  br i1 %.not95.2241, label %1013, label %.preheader99.preheader.2242

.preheader99.preheader.2242:                      ; preds = %990
  %992 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 36), align 4, !tbaa !7
  %993 = icmp eq i32 %992, %991
  %994 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 64), align 16
  %995 = icmp eq i32 %994, %991
  %or.cond369 = select i1 %993, i1 %995, i1 false
  br i1 %or.cond369, label %.sink.split189.2, label %.preheader.2243, !llvm.loop !11

.preheader.2243:                                  ; preds = %.preheader99.preheader.2242
  %996 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %997 = icmp eq i32 %996, %991
  %998 = load i32, ptr @g, align 16
  %999 = icmp eq i32 %998, %991
  %spec.select420 = select i1 %999, i32 0, i32 -1
  %.179.lcssa.2244.neg = select i1 %997, i32 %spec.select420, i32 -2
  %1000 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %1001 = icmp eq i32 %1000, %991
  br i1 %1001, label %1002, label %.critedge6.2249, !llvm.loop !12

1002:                                             ; preds = %.preheader.2243
  %1003 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %1004 = icmp eq i32 %1003, %991
  br i1 %1004, label %1005, label %.critedge6.2249, !llvm.loop !12

1005:                                             ; preds = %1002
  %1006 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %1007 = icmp eq i32 %1006, %991
  br i1 %1007, label %1008, label %.critedge6.2249, !llvm.loop !12

1008:                                             ; preds = %1005
  %1009 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %1010 = icmp eq i32 %1009, %991
  %spec.select421 = select i1 %1010, i32 6, i32 5
  br label %.critedge6.2249, !llvm.loop !12

.critedge6.2249:                                  ; preds = %1008, %.preheader.2243, %1002, %1005
  %.1.lcssa.2248 = phi i32 [ 2, %.preheader.2243 ], [ 3, %1002 ], [ 4, %1005 ], [ %spec.select421, %1008 ]
  %1011 = add i32 %.179.lcssa.2244.neg, %.1.lcssa.2248
  %1012 = icmp sgt i32 %1011, 1
  br i1 %1012, label %.sink.split189.2, label %1013

.sink.split189.2:                                 ; preds = %.preheader99.preheader.2242, %.critedge6.2249
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 8), align 8, !tbaa !7
  br label %1013

1013:                                             ; preds = %.sink.split189.2, %.critedge6.2249, %990
  %.3.2250 = phi i1 [ %.3.1237, %990 ], [ %.3.1237, %.critedge6.2249 ], [ false, %.sink.split189.2 ]
  %1014 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %.not95.3254 = icmp eq i32 %1014, 0
  br i1 %.not95.3254, label %1035, label %.preheader99.preheader.3255

.preheader99.preheader.3255:                      ; preds = %1013
  %1015 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 40), align 8, !tbaa !7
  %1016 = icmp eq i32 %1015, %1014
  %1017 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 68), align 4
  %1018 = icmp eq i32 %1017, %1014
  %or.cond371 = select i1 %1016, i1 %1018, i1 false
  br i1 %or.cond371, label %.sink.split189.3, label %.preheader.3256, !llvm.loop !11

.preheader.3256:                                  ; preds = %.preheader99.preheader.3255
  %1019 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %1020 = icmp eq i32 %1019, %1014
  br i1 %1020, label %.preheader.1211.3, label %.critedge4.3258, !llvm.loop !13

.preheader.1211.3:                                ; preds = %.preheader.3256
  %1021 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %1022 = icmp eq i32 %1021, %1014
  br i1 %1022, label %.preheader.2213.3, label %.critedge4.3258, !llvm.loop !13

.preheader.2213.3:                                ; preds = %.preheader.1211.3
  %1023 = load i32, ptr @g, align 16, !tbaa !7
  %1024 = icmp eq i32 %1023, %1014
  %spec.select422 = select i1 %1024, i32 0, i32 -1
  br label %.critedge4.3258, !llvm.loop !13

.critedge4.3258:                                  ; preds = %.preheader.2213.3, %.preheader.3256, %.preheader.1211.3
  %.179.lcssa.3257.neg = phi i32 [ -3, %.preheader.3256 ], [ -2, %.preheader.1211.3 ], [ %spec.select422, %.preheader.2213.3 ]
  %1025 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %1026 = icmp eq i32 %1025, %1014
  br i1 %1026, label %1027, label %.critedge6.3262, !llvm.loop !12

1027:                                             ; preds = %.critedge4.3258
  %1028 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %1029 = icmp eq i32 %1028, %1014
  br i1 %1029, label %1030, label %.critedge6.3262, !llvm.loop !12

1030:                                             ; preds = %1027
  %1031 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %1032 = icmp eq i32 %1031, %1014
  %spec.select423 = select i1 %1032, i32 6, i32 5
  br label %.critedge6.3262, !llvm.loop !12

.critedge6.3262:                                  ; preds = %1030, %.critedge4.3258, %1027
  %.1.lcssa.3261 = phi i32 [ 3, %.critedge4.3258 ], [ 4, %1027 ], [ %spec.select423, %1030 ]
  %1033 = add i32 %.179.lcssa.3257.neg, %.1.lcssa.3261
  %1034 = icmp sgt i32 %1033, 1
  br i1 %1034, label %.sink.split189.3, label %1035

.sink.split189.3:                                 ; preds = %.preheader99.preheader.3255, %.critedge6.3262
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 12), align 4, !tbaa !7
  br label %1035

1035:                                             ; preds = %.sink.split189.3, %.critedge6.3262, %1013
  %.3.3263 = phi i1 [ %.3.2250, %1013 ], [ %.3.2250, %.critedge6.3262 ], [ false, %.sink.split189.3 ]
  %1036 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %.not95.4267 = icmp eq i32 %1036, 0
  br i1 %.not95.4267, label %1055, label %.preheader99.preheader.4268

.preheader99.preheader.4268:                      ; preds = %1035
  %1037 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 44), align 4, !tbaa !7
  %1038 = icmp eq i32 %1037, %1036
  %1039 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 72), align 8
  %1040 = icmp eq i32 %1039, %1036
  %or.cond373 = select i1 %1038, i1 %1040, i1 false
  br i1 %or.cond373, label %.sink.split189.4, label %.preheader.4269, !llvm.loop !11

.preheader.4269:                                  ; preds = %.preheader99.preheader.4268
  %1041 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %1042 = icmp eq i32 %1041, %1036
  br i1 %1042, label %.preheader.1211.4, label %.critedge4.4271, !llvm.loop !13

.preheader.1211.4:                                ; preds = %.preheader.4269
  %1043 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %1044 = icmp eq i32 %1043, %1036
  br i1 %1044, label %.preheader.2213.4, label %.critedge4.4271, !llvm.loop !13

.preheader.2213.4:                                ; preds = %.preheader.1211.4
  %1045 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %1046 = icmp eq i32 %1045, %1036
  br i1 %1046, label %.preheader.3215.4, label %.critedge4.4271, !llvm.loop !13

.preheader.3215.4:                                ; preds = %.preheader.2213.4
  %1047 = load i32, ptr @g, align 16, !tbaa !7
  %1048 = icmp eq i32 %1047, %1036
  %spec.select424 = select i1 %1048, i32 0, i32 -1
  br label %.critedge4.4271, !llvm.loop !13

.critedge4.4271:                                  ; preds = %.preheader.3215.4, %.preheader.4269, %.preheader.1211.4, %.preheader.2213.4
  %.179.lcssa.4270.neg = phi i32 [ -4, %.preheader.4269 ], [ -3, %.preheader.1211.4 ], [ -2, %.preheader.2213.4 ], [ %spec.select424, %.preheader.3215.4 ]
  %1049 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %1050 = icmp eq i32 %1049, %1036
  %1051 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8
  %1052 = icmp eq i32 %1051, %1036
  %spec.select425 = select i1 %1052, i32 6, i32 5
  %.1.lcssa.4274 = select i1 %1050, i32 %spec.select425, i32 4
  %1053 = add i32 %.179.lcssa.4270.neg, %.1.lcssa.4274
  %1054 = icmp sgt i32 %1053, 1
  br i1 %1054, label %.sink.split189.4, label %1055

.sink.split189.4:                                 ; preds = %.preheader99.preheader.4268, %.critedge4.4271
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 16), align 16, !tbaa !7
  br label %1055

1055:                                             ; preds = %.sink.split189.4, %.critedge4.4271, %1035
  %.3.4276 = phi i1 [ %.3.3263, %1035 ], [ %.3.3263, %.critedge4.4271 ], [ false, %.sink.split189.4 ]
  %1056 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %.not95.5 = icmp eq i32 %1056, 0
  br i1 %.not95.5, label %1075, label %.preheader99.preheader.5

.preheader99.preheader.5:                         ; preds = %1055
  %1057 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 48), align 16, !tbaa !7
  %1058 = icmp eq i32 %1057, %1056
  %1059 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 76), align 4
  %1060 = icmp eq i32 %1059, %1056
  %or.cond375 = select i1 %1058, i1 %1060, i1 false
  br i1 %or.cond375, label %.sink.split189.5, label %.preheader.5278, !llvm.loop !11

.preheader.5278:                                  ; preds = %.preheader99.preheader.5
  %1061 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %1062 = icmp eq i32 %1061, %1056
  br i1 %1062, label %.preheader.1211.5, label %.critedge4.5, !llvm.loop !13

.preheader.1211.5:                                ; preds = %.preheader.5278
  %1063 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %1064 = icmp eq i32 %1063, %1056
  br i1 %1064, label %.preheader.2213.5, label %.critedge4.5, !llvm.loop !13

.preheader.2213.5:                                ; preds = %.preheader.1211.5
  %1065 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %1066 = icmp eq i32 %1065, %1056
  br i1 %1066, label %.preheader.3215.5, label %.critedge4.5, !llvm.loop !13

.preheader.3215.5:                                ; preds = %.preheader.2213.5
  %1067 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %1068 = icmp eq i32 %1067, %1056
  br i1 %1068, label %.preheader.4217.5, label %.critedge4.5, !llvm.loop !13

.preheader.4217.5:                                ; preds = %.preheader.3215.5
  %1069 = load i32, ptr @g, align 16, !tbaa !7
  %1070 = icmp eq i32 %1069, %1056
  %spec.select426 = select i1 %1070, i32 0, i32 -1
  br label %.critedge4.5, !llvm.loop !13

.critedge4.5:                                     ; preds = %.preheader.4217.5, %.preheader.5278, %.preheader.1211.5, %.preheader.2213.5, %.preheader.3215.5
  %.179.lcssa.5.neg = phi i32 [ -5, %.preheader.5278 ], [ -4, %.preheader.1211.5 ], [ -3, %.preheader.2213.5 ], [ -2, %.preheader.3215.5 ], [ %spec.select426, %.preheader.4217.5 ]
  %1071 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %1072 = icmp eq i32 %1071, %1056
  %.1.lcssa.5 = select i1 %1072, i32 6, i32 5
  %1073 = add i32 %.179.lcssa.5.neg, %.1.lcssa.5
  %1074 = icmp sgt i32 %1073, 1
  br i1 %1074, label %.sink.split189.5, label %1075

.sink.split189.5:                                 ; preds = %.preheader99.preheader.5, %.critedge4.5
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 20), align 4, !tbaa !7
  br label %1075

1075:                                             ; preds = %.sink.split189.5, %.critedge4.5, %1055
  %.3.5 = phi i1 [ %.3.4276, %1055 ], [ %.3.4276, %.critedge4.5 ], [ false, %.sink.split189.5 ]
  %1076 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 24), align 8, !tbaa !7
  %.not95.6 = icmp eq i32 %1076, 0
  br i1 %.not95.6, label %.preheader101.1.preheader, label %.preheader99.preheader.6

.preheader99.preheader.6:                         ; preds = %1075
  %1077 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 52), align 4, !tbaa !7
  %1078 = icmp eq i32 %1077, %1076
  %1079 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 80), align 16
  %1080 = icmp eq i32 %1079, %1076
  %or.cond377 = select i1 %1078, i1 %1080, i1 false
  br i1 %or.cond377, label %.sink.split189.6, label %.preheader.6281, !llvm.loop !11

.preheader.6281:                                  ; preds = %.preheader99.preheader.6
  %1081 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 20), align 4, !tbaa !7
  %1082 = icmp eq i32 %1081, %1076
  br i1 %1082, label %.preheader.1211.6, label %.critedge6.6, !llvm.loop !13

.preheader.1211.6:                                ; preds = %.preheader.6281
  %1083 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 16), align 16, !tbaa !7
  %1084 = icmp eq i32 %1083, %1076
  br i1 %1084, label %.preheader.2213.6, label %.critedge6.6, !llvm.loop !13

.preheader.2213.6:                                ; preds = %.preheader.1211.6
  %1085 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 12), align 4, !tbaa !7
  %1086 = icmp eq i32 %1085, %1076
  br i1 %1086, label %.preheader.3215.6, label %.critedge6.6, !llvm.loop !13

.preheader.3215.6:                                ; preds = %.preheader.2213.6
  %1087 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 8), align 8, !tbaa !7
  %1088 = icmp eq i32 %1087, %1076
  br i1 %1088, label %.preheader.4217.6, label %.critedge6.6, !llvm.loop !13

.preheader.4217.6:                                ; preds = %.preheader.3215.6
  %1089 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !7
  %1090 = icmp eq i32 %1089, %1076
  br i1 %1090, label %.preheader.5.6, label %.critedge6.6, !llvm.loop !13

.preheader.5.6:                                   ; preds = %.preheader.4217.6
  %1091 = load i32, ptr @g, align 16, !tbaa !7
  %1092 = icmp eq i32 %1091, %1076
  %spec.select427 = select i1 %1092, i32 0, i32 -1
  br label %.critedge6.6, !llvm.loop !13

.critedge6.6:                                     ; preds = %.preheader.5.6, %.preheader.4217.6, %.preheader.3215.6, %.preheader.2213.6, %.preheader.1211.6, %.preheader.6281
  %.179.lcssa.6.neg = phi i32 [ -6, %.preheader.6281 ], [ -5, %.preheader.1211.6 ], [ -4, %.preheader.2213.6 ], [ -3, %.preheader.3215.6 ], [ -2, %.preheader.4217.6 ], [ %spec.select427, %.preheader.5.6 ]
  %1093 = add i32 %.179.lcssa.6.neg, 6
  %1094 = icmp sgt i32 %1093, 1
  br i1 %1094, label %.sink.split189.6, label %.preheader101.1.preheader

.sink.split189.6:                                 ; preds = %.preheader99.preheader.6, %.critedge6.6
  store i32 1, ptr getelementptr inbounds (i8, ptr @st, i64 24), align 8, !tbaa !7
  br label %.preheader101.1.preheader

.preheader101.1.preheader:                        ; preds = %.sink.split189.6, %.critedge6.6, %1075
  %.3.6 = phi i1 [ %.3.5, %1075 ], [ %.3.5, %.critedge6.6 ], [ false, %.sink.split189.6 ]
  %1095 = load i32, ptr getelementptr inbounds (i8, ptr @g, i64 28), align 4, !tbaa !7
  %.not95.1 = icmp eq i32 %1095, 0
  br i1 %.not95.1, label %.preheader101.1.1, label %.preheader99.preheader.1

.preheader100:                                    ; preds = %.preheader100.preheader, %1179
  %indvars.iv = phi i64 [ %indvars.iv.next, %1179 ], [ 0, %.preheader100.preheader ]
  %1096 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 0
  %1097 = load i32, ptr %1096, align 4, !tbaa !7
  %.not = icmp eq i32 %1097, 0
  br i1 %.not, label %1107, label %1098

1098:                                             ; preds = %.preheader100
  %1099 = load i32, ptr @cnt, align 16, !tbaa !7
  %1100 = add nsw i32 %1099, -1
  store i32 %1100, ptr @cnt, align 16, !tbaa !7
  %1101 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 0
  %1102 = load i32, ptr %1101, align 4, !tbaa !7
  %1103 = sext i32 %1102 to i64
  %1104 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1103
  %1105 = load i32, ptr %1104, align 4, !tbaa !7
  %1106 = add nsw i32 %1105, -1
  store i32 %1106, ptr %1104, align 4, !tbaa !7
  store i32 0, ptr %1101, align 4, !tbaa !7
  br label %1107

1107:                                             ; preds = %.preheader100, %1098
  %1108 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 1
  %1109 = load i32, ptr %1108, align 4, !tbaa !7
  %.not.1 = icmp eq i32 %1109, 0
  br i1 %.not.1, label %1119, label %1110

1110:                                             ; preds = %1107
  %1111 = load i32, ptr @cnt, align 16, !tbaa !7
  %1112 = add nsw i32 %1111, -1
  store i32 %1112, ptr @cnt, align 16, !tbaa !7
  %1113 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 1
  %1114 = load i32, ptr %1113, align 4, !tbaa !7
  %1115 = sext i32 %1114 to i64
  %1116 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1115
  %1117 = load i32, ptr %1116, align 4, !tbaa !7
  %1118 = add nsw i32 %1117, -1
  store i32 %1118, ptr %1116, align 4, !tbaa !7
  store i32 0, ptr %1113, align 4, !tbaa !7
  br label %1119

1119:                                             ; preds = %1110, %1107
  %1120 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 2
  %1121 = load i32, ptr %1120, align 4, !tbaa !7
  %.not.2 = icmp eq i32 %1121, 0
  br i1 %.not.2, label %1131, label %1122

1122:                                             ; preds = %1119
  %1123 = load i32, ptr @cnt, align 16, !tbaa !7
  %1124 = add nsw i32 %1123, -1
  store i32 %1124, ptr @cnt, align 16, !tbaa !7
  %1125 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 2
  %1126 = load i32, ptr %1125, align 4, !tbaa !7
  %1127 = sext i32 %1126 to i64
  %1128 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1127
  %1129 = load i32, ptr %1128, align 4, !tbaa !7
  %1130 = add nsw i32 %1129, -1
  store i32 %1130, ptr %1128, align 4, !tbaa !7
  store i32 0, ptr %1125, align 4, !tbaa !7
  br label %1131

1131:                                             ; preds = %1122, %1119
  %1132 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 3
  %1133 = load i32, ptr %1132, align 4, !tbaa !7
  %.not.3 = icmp eq i32 %1133, 0
  br i1 %.not.3, label %1143, label %1134

1134:                                             ; preds = %1131
  %1135 = load i32, ptr @cnt, align 16, !tbaa !7
  %1136 = add nsw i32 %1135, -1
  store i32 %1136, ptr @cnt, align 16, !tbaa !7
  %1137 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 3
  %1138 = load i32, ptr %1137, align 4, !tbaa !7
  %1139 = sext i32 %1138 to i64
  %1140 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1139
  %1141 = load i32, ptr %1140, align 4, !tbaa !7
  %1142 = add nsw i32 %1141, -1
  store i32 %1142, ptr %1140, align 4, !tbaa !7
  store i32 0, ptr %1137, align 4, !tbaa !7
  br label %1143

1143:                                             ; preds = %1134, %1131
  %1144 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 4
  %1145 = load i32, ptr %1144, align 4, !tbaa !7
  %.not.4 = icmp eq i32 %1145, 0
  br i1 %.not.4, label %1155, label %1146

1146:                                             ; preds = %1143
  %1147 = load i32, ptr @cnt, align 16, !tbaa !7
  %1148 = add nsw i32 %1147, -1
  store i32 %1148, ptr @cnt, align 16, !tbaa !7
  %1149 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 4
  %1150 = load i32, ptr %1149, align 4, !tbaa !7
  %1151 = sext i32 %1150 to i64
  %1152 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1151
  %1153 = load i32, ptr %1152, align 4, !tbaa !7
  %1154 = add nsw i32 %1153, -1
  store i32 %1154, ptr %1152, align 4, !tbaa !7
  store i32 0, ptr %1149, align 4, !tbaa !7
  br label %1155

1155:                                             ; preds = %1146, %1143
  %1156 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 5
  %1157 = load i32, ptr %1156, align 4, !tbaa !7
  %.not.5 = icmp eq i32 %1157, 0
  br i1 %.not.5, label %1167, label %1158

1158:                                             ; preds = %1155
  %1159 = load i32, ptr @cnt, align 16, !tbaa !7
  %1160 = add nsw i32 %1159, -1
  store i32 %1160, ptr @cnt, align 16, !tbaa !7
  %1161 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 5
  %1162 = load i32, ptr %1161, align 4, !tbaa !7
  %1163 = sext i32 %1162 to i64
  %1164 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1163
  %1165 = load i32, ptr %1164, align 4, !tbaa !7
  %1166 = add nsw i32 %1165, -1
  store i32 %1166, ptr %1164, align 4, !tbaa !7
  store i32 0, ptr %1161, align 4, !tbaa !7
  br label %1167

1167:                                             ; preds = %1158, %1155
  %1168 = getelementptr inbounds [5 x [7 x i32]], ptr @st, i64 0, i64 %indvars.iv, i64 6
  %1169 = load i32, ptr %1168, align 4, !tbaa !7
  %.not.6 = icmp eq i32 %1169, 0
  br i1 %.not.6, label %1179, label %1170

1170:                                             ; preds = %1167
  %1171 = load i32, ptr @cnt, align 16, !tbaa !7
  %1172 = add nsw i32 %1171, -1
  store i32 %1172, ptr @cnt, align 16, !tbaa !7
  %1173 = getelementptr inbounds [5 x [7 x i32]], ptr @g, i64 0, i64 %indvars.iv, i64 6
  %1174 = load i32, ptr %1173, align 4, !tbaa !7
  %1175 = sext i32 %1174 to i64
  %1176 = getelementptr inbounds [11 x i32], ptr @cnt, i64 0, i64 %1175
  %1177 = load i32, ptr %1176, align 4, !tbaa !7
  %1178 = add nsw i32 %1177, -1
  store i32 %1178, ptr %1176, align 4, !tbaa !7
  store i32 0, ptr %1173, align 4, !tbaa !7
  br label %1179

1179:                                             ; preds = %1170, %1167
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 5
  br i1 %exitcond.not, label %.loopexit.loopexit, label %.preheader100, !llvm.loop !5

1180:                                             ; preds = %943
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}


; Effective O3 passes: ADCEPass,AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass