; LLVM IR from Wilson-ZheLin/Introduction-to-Digital-Image-Processing :: 7. Image Noise and Noise Reduction, Homomorphic Filter, and Band Stop Filter/src/ma_7d123bc0 (Z14AdaptiveMedianP5Image)

; 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"

%struct.Image = type { i32, i32, i32, ptr, [15 x [100 x i8]], i32 }

@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12SavePNMImageP5ImagePc(ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14AdaptiveMedianP5Image(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [9 x i8], align 1
  %6 = alloca [25 x i8], align 16
  %7 = alloca ptr, align 8
  %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
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #2
  call void @llvm.lifetime.start.p0(i64 9, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 25, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = call noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef %25, ptr noundef @.str.14)
  store ptr %26, ptr %7, align 8, !tbaa !5
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.Image, ptr %27, i32 0, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  store ptr %29, ptr %3, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.Image, ptr %30, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  store ptr %32, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  store i32 1, ptr %8, align 4, !tbaa !12
  br label %33

33:                                               ; preds = %339, %1
  %34 = load i32, ptr %8, align 4, !tbaa !12
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.Image, ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 4, !tbaa !13
  %38 = sub nsw i32 %37, 1
  %39 = icmp slt i32 %34, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %33
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  br label %342

41:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  store i32 1, ptr %10, align 4, !tbaa !12
  br label %42

42:                                               ; preds = %335, %41
  %43 = load i32, ptr %10, align 4, !tbaa !12
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.Image, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !14
  %47 = sub nsw i32 %46, 1
  %48 = icmp slt i32 %43, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %42
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  br label %338

50:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  store i32 0, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  store i32 -1, ptr %12, align 4, !tbaa !12
  br label %51

51:                                               ; preds = %84, %50
  %52 = load i32, ptr %12, align 4, !tbaa !12
  %53 = icmp sle i32 %52, 1
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  br label %87

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #2
  store i32 -1, ptr %13, align 4, !tbaa !12
  br label %56

56:                                               ; preds = %80, %55
  %57 = load i32, ptr %13, align 4, !tbaa !12
  %58 = icmp sle i32 %57, 1
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #2
  br label %83

60:                                               ; preds = %56
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.Image, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !14
  %65 = load i32, ptr %8, align 4, !tbaa !12
  %66 = load i32, ptr %12, align 4, !tbaa !12
  %67 = add nsw i32 %65, %66
  %68 = mul nsw i32 %64, %67
  %69 = load i32, ptr %10, align 4, !tbaa !12
  %70 = load i32, ptr %13, align 4, !tbaa !12
  %71 = add nsw i32 %69, %70
  %72 = add nsw i32 %68, %71
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds i8, ptr %61, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !15
  %76 = load i32, ptr %11, align 4, !tbaa !12
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %11, align 4, !tbaa !12
  %78 = sext i32 %76 to i64
  %79 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 %78
  store i8 %75, ptr %79, align 1, !tbaa !15
  br label %80

80:                                               ; preds = %60
  %81 = load i32, ptr %13, align 4, !tbaa !12
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %13, align 4, !tbaa !12
  br label %56, !llvm.loop !16

83:                                               ; preds = %59
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %12, align 4, !tbaa !12
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %12, align 4, !tbaa !12
  br label %51, !llvm.loop !18

87:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #2
  store i32 1, ptr %14, align 4, !tbaa !12
  br label %88

88:                                               ; preds = %130, %87
  %89 = load i32, ptr %14, align 4, !tbaa !12
  %90 = icmp slt i32 %89, 9
  br i1 %90, label %92, label %91

91:                                               ; preds = %88
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #2
  br label %133

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #2
  %93 = load i32, ptr %14, align 4, !tbaa !12
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !15
  %97 = zext i8 %96 to i32
  store i32 %97, ptr %15, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #2
  %98 = load i32, ptr %14, align 4, !tbaa !12
  store i32 %98, ptr %16, align 4, !tbaa !12
  br label %99

99:                                               ; preds = %113, %92
  %100 = load i32, ptr %16, align 4, !tbaa !12
  %101 = icmp sge i32 %100, 1
  br i1 %101, label %102, label %111

102:                                              ; preds = %99
  %103 = load i32, ptr %16, align 4, !tbaa !12
  %104 = sub nsw i32 %103, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 %105
  %107 = load i8, ptr %106, align 1, !tbaa !15
  %108 = zext i8 %107 to i32
  %109 = load i32, ptr %15, align 4, !tbaa !12
  %110 = icmp sgt i32 %108, %109
  br label %111

111:                                              ; preds = %102, %99
  %112 = phi i1 [ false, %99 ], [ %110, %102 ]
  br i1 %112, label %113, label %124

113:                                              ; preds = %111
  %114 = load i32, ptr %16, align 4, !tbaa !12
  %115 = sub nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 %116
  %118 = load i8, ptr %117, align 1, !tbaa !15
  %119 = load i32, ptr %16, align 4, !tbaa !12
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 %120
  store i8 %118, ptr %121, align 1, !tbaa !15
  %122 = load i32, ptr %16, align 4, !tbaa !12
  %123 = add nsw i32 %122, -1
  store i32 %123, ptr %16, align 4, !tbaa !12
  br label %99, !llvm.loop !19

124:                                              ; preds = %111
  %125 = load i32, ptr %15, align 4, !tbaa !12
  %126 = trunc i32 %125 to i8
  %127 = load i32, ptr %16, align 4, !tbaa !12
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 %128
  store i8 %126, ptr %129, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #2
  br label %130

130:                                              ; preds = %124
  %131 = load i32, ptr %14, align 4, !tbaa !12
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %14, align 4, !tbaa !12
  br label %88, !llvm.loop !20

133:                                              ; preds = %91
  %134 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 0
  %135 = load i8, ptr %134, align 1, !tbaa !15
  %136 = zext i8 %135 to i32
  %137 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 4
  %138 = load i8, ptr %137, align 1, !tbaa !15
  %139 = zext i8 %138 to i32
  %140 = icmp slt i32 %136, %139
  br i1 %140, label %141, label %200

141:                                              ; preds = %133
  %142 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 4
  %143 = load i8, ptr %142, align 1, !tbaa !15
  %144 = zext i8 %143 to i32
  %145 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 8
  %146 = load i8, ptr %145, align 1, !tbaa !15
  %147 = zext i8 %146 to i32
  %148 = icmp slt i32 %144, %147
  br i1 %148, label %149, label %200

149:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #2
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.Image, ptr %151, i32 0, i32 1
  %153 = load i32, ptr %152, align 4, !tbaa !13
  %154 = load i32, ptr %8, align 4, !tbaa !12
  %155 = mul nsw i32 %153, %154
  %156 = load i32, ptr %10, align 4, !tbaa !12
  %157 = add nsw i32 %155, %156
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds i8, ptr %150, i64 %158
  %160 = load i8, ptr %159, align 1, !tbaa !15
  %161 = zext i8 %160 to i32
  store i32 %161, ptr %17, align 4, !tbaa !12
  %162 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 0
  %163 = load i8, ptr %162, align 1, !tbaa !15
  %164 = zext i8 %163 to i32
  %165 = load i32, ptr %17, align 4, !tbaa !12
  %166 = icmp slt i32 %164, %165
  br i1 %166, label %167, label %186

167:                                              ; preds = %149
  %168 = load i32, ptr %17, align 4, !tbaa !12
  %169 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 8
  %170 = load i8, ptr %169, align 1, !tbaa !15
  %171 = zext i8 %170 to i32
  %172 = icmp slt i32 %168, %171
  br i1 %172, label %173, label %186

173:                                              ; preds = %167
  %174 = load i32, ptr %17, align 4, !tbaa !12
  %175 = trunc i32 %174 to i8
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = load ptr, ptr %2, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.Image, ptr %177, i32 0, i32 0
  %179 = load i32, ptr %178, align 8, !tbaa !14
  %180 = load i32, ptr %8, align 4, !tbaa !12
  %181 = mul nsw i32 %179, %180
  %182 = load i32, ptr %10, align 4, !tbaa !12
  %183 = add nsw i32 %181, %182
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds i8, ptr %176, i64 %184
  store i8 %175, ptr %185, align 1, !tbaa !15
  br label %199

186:                                              ; preds = %167, %149
  %187 = getelementptr inbounds [9 x i8], ptr %5, i64 0, i64 4
  %188 = load i8, ptr %187, align 1, !tbaa !15
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.Image, ptr %190, i32 0, i32 0
  %192 = load i32, ptr %191, align 8, !tbaa !14
  %193 = load i32, ptr %8, align 4, !tbaa !12
  %194 = mul nsw i32 %192, %193
  %195 = load i32, ptr %10, align 4, !tbaa !12
  %196 = add nsw i32 %194, %195
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds i8, ptr %189, i64 %197
  store i8 %188, ptr %198, align 1, !tbaa !15
  br label %199

199:                                              ; preds = %186, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #2
  br label %334

200:                                              ; preds = %141, %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #2
  store i32 0, ptr %18, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #2
  store i32 -2, ptr %19, align 4, !tbaa !12
  br label %201

201:                                              ; preds = %234, %200
  %202 = load i32, ptr %19, align 4, !tbaa !12
  %203 = icmp sle i32 %202, 2
  br i1 %203, label %205, label %204

204:                                              ; preds = %201
  store i32 19, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #2
  br label %237

205:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #2
  store i32 -2, ptr %20, align 4, !tbaa !12
  br label %206

206:                                              ; preds = %230, %205
  %207 = load i32, ptr %20, align 4, !tbaa !12
  %208 = icmp sle i32 %207, 2
  br i1 %208, label %210, label %209

209:                                              ; preds = %206
  store i32 22, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #2
  br label %233

210:                                              ; preds = %206
  %211 = load ptr, ptr %3, align 8, !tbaa !5
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.Image, ptr %212, i32 0, i32 0
  %214 = load i32, ptr %213, align 8, !tbaa !14
  %215 = load i32, ptr %8, align 4, !tbaa !12
  %216 = load i32, ptr %19, align 4, !tbaa !12
  %217 = add nsw i32 %215, %216
  %218 = mul nsw i32 %214, %217
  %219 = load i32, ptr %10, align 4, !tbaa !12
  %220 = load i32, ptr %20, align 4, !tbaa !12
  %221 = add nsw i32 %219, %220
  %222 = add nsw i32 %218, %221
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds i8, ptr %211, i64 %223
  %225 = load i8, ptr %224, align 1, !tbaa !15
  %226 = load i32, ptr %18, align 4, !tbaa !12
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %18, align 4, !tbaa !12
  %228 = sext i32 %226 to i64
  %229 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %228
  store i8 %225, ptr %229, align 1, !tbaa !15
  br label %230

230:                                              ; preds = %210
  %231 = load i32, ptr %20, align 4, !tbaa !12
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %20, align 4, !tbaa !12
  br label %206, !llvm.loop !21

233:                                              ; preds = %209
  br label %234

234:                                              ; preds = %233
  %235 = load i32, ptr %19, align 4, !tbaa !12
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %19, align 4, !tbaa !12
  br label %201, !llvm.loop !22

237:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #2
  store i32 1, ptr %21, align 4, !tbaa !12
  br label %238

238:                                              ; preds = %280, %237
  %239 = load i32, ptr %21, align 4, !tbaa !12
  %240 = icmp slt i32 %239, 25
  br i1 %240, label %242, label %241

241:                                              ; preds = %238
  store i32 25, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #2
  br label %283

242:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #2
  %243 = load i32, ptr %21, align 4, !tbaa !12
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %244
  %246 = load i8, ptr %245, align 1, !tbaa !15
  %247 = zext i8 %246 to i32
  store i32 %247, ptr %22, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #2
  %248 = load i32, ptr %21, align 4, !tbaa !12
  store i32 %248, ptr %23, align 4, !tbaa !12
  br label %249

249:                                              ; preds = %263, %242
  %250 = load i32, ptr %23, align 4, !tbaa !12
  %251 = icmp sge i32 %250, 1
  br i1 %251, label %252, label %261

252:                                              ; preds = %249
  %253 = load i32, ptr %23, align 4, !tbaa !12
  %254 = sub nsw i32 %253, 1
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %255
  %257 = load i8, ptr %256, align 1, !tbaa !15
  %258 = zext i8 %257 to i32
  %259 = load i32, ptr %22, align 4, !tbaa !12
  %260 = icmp sgt i32 %258, %259
  br label %261

261:                                              ; preds = %252, %249
  %262 = phi i1 [ false, %249 ], [ %260, %252 ]
  br i1 %262, label %263, label %274

263:                                              ; preds = %261
  %264 = load i32, ptr %23, align 4, !tbaa !12
  %265 = sub nsw i32 %264, 1
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %266
  %268 = load i8, ptr %267, align 1, !tbaa !15
  %269 = load i32, ptr %23, align 4, !tbaa !12
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %270
  store i8 %268, ptr %271, align 1, !tbaa !15
  %272 = load i32, ptr %23, align 4, !tbaa !12
  %273 = add nsw i32 %272, -1
  store i32 %273, ptr %23, align 4, !tbaa !12
  br label %249, !llvm.loop !23

274:                                              ; preds = %261
  %275 = load i32, ptr %22, align 4, !tbaa !12
  %276 = trunc i32 %275 to i8
  %277 = load i32, ptr %23, align 4, !tbaa !12
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %278
  store i8 %276, ptr %279, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #2
  br label %280

280:                                              ; preds = %274
  %281 = load i32, ptr %21, align 4, !tbaa !12
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %21, align 4, !tbaa !12
  br label %238, !llvm.loop !24

283:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #2
  %284 = load ptr, ptr %3, align 8, !tbaa !5
  %285 = load ptr, ptr %2, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.Image, ptr %285, i32 0, i32 1
  %287 = load i32, ptr %286, align 4, !tbaa !13
  %288 = load i32, ptr %8, align 4, !tbaa !12
  %289 = mul nsw i32 %287, %288
  %290 = load i32, ptr %10, align 4, !tbaa !12
  %291 = add nsw i32 %289, %290
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds i8, ptr %284, i64 %292
  %294 = load i8, ptr %293, align 1, !tbaa !15
  %295 = zext i8 %294 to i32
  store i32 %295, ptr %24, align 4, !tbaa !12
  %296 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
  %297 = load i8, ptr %296, align 16, !tbaa !15
  %298 = zext i8 %297 to i32
  %299 = load i32, ptr %24, align 4, !tbaa !12
  %300 = icmp slt i32 %298, %299
  br i1 %300, label %301, label %320

301:                                              ; preds = %283
  %302 = load i32, ptr %24, align 4, !tbaa !12
  %303 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 8
  %304 = load i8, ptr %303, align 8, !tbaa !15
  %305 = zext i8 %304 to i32
  %306 = icmp slt i32 %302, %305
  br i1 %306, label %307, label %320

307:                                              ; preds = %301
  %308 = load i32, ptr %24, align 4, !tbaa !12
  %309 = trunc i32 %308 to i8
  %310 = load ptr, ptr %4, align 8, !tbaa !5
  %311 = load ptr, ptr %2, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.Image, ptr %311, i32 0, i32 0
  %313 = load i32, ptr %312, align 8, !tbaa !14
  %314 = load i32, ptr %8, align 4, !tbaa !12
  %315 = mul nsw i32 %313, %314
  %316 = load i32, ptr %10, align 4, !tbaa !12
  %317 = add nsw i32 %315, %316
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds i8, ptr %310, i64 %318
  store i8 %309, ptr %319, align 1, !tbaa !15
  br label %333

320:                                              ; preds = %301, %283
  %321 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 12
  %322 = load i8, ptr %321, align 4, !tbaa !15
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = load ptr, ptr %2, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.Image, ptr %324, i32 0, i32 0
  %326 = load i32, ptr %325, align 8, !tbaa !14
  %327 = load i32, ptr %8, align 4, !tbaa !12
  %328 = mul nsw i32 %326, %327
  %329 = load i32, ptr %10, align 4, !tbaa !12
  %330 = add nsw i32 %328, %329
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds i8, ptr %323, i64 %331
  store i8 %322, ptr %332, align 1, !tbaa !15
  br label %333

333:                                              ; preds = %320, %307
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #2
  br label %334

334:                                              ; preds = %333, %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  br label %335

335:                                              ; preds = %334
  %336 = load i32, ptr %10, align 4, !tbaa !12
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %10, align 4, !tbaa !12
  br label %42, !llvm.loop !25

338:                                              ; preds = %49
  br label %339

339:                                              ; preds = %338
  %340 = load i32, ptr %8, align 4, !tbaa !12
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %8, align 4, !tbaa !12
  br label %33, !llvm.loop !26

342:                                              ; preds = %40
  %343 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_Z12SavePNMImageP5ImagePc(ptr noundef %343, ptr noundef @.str.20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 25, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 9, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"_ZTS5Image", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !7, i64 24, !11, i64 1524}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 4}
!14 = !{!10, !11, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}


; 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"

@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12SavePNMImageP5ImagePc(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14AdaptiveMedianP5Image(ptr noundef %0) local_unnamed_addr #1 {
  %.sroa.0 = alloca i8, align 1
  %.sroa.19 = alloca i8, align 1
  %.sroa.43 = alloca i8, align 1
  %.sroa.64 = alloca i8, align 1
  %.sroa.83 = alloca i8, align 1
  %.sroa.99 = alloca i8, align 1
  %.sroa.112 = alloca i8, align 1
  %.sroa.122 = alloca i8, align 1
  %.sroa.129 = alloca i8, align 1
  %2 = alloca [25 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.0)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.19)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.43)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.64)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.83)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.99)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.112)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.122)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %.sroa.129)
  call void @llvm.lifetime.start.p0(i64 25, ptr nonnull %2) #2
  %3 = tail call noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef %0, ptr noundef nonnull @.str.14)
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %3, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !11
  %10 = icmp sgt i32 %9, 2
  br i1 %10, label %.preheader111.lr.ph, label %._crit_edge126

.preheader111.lr.ph:                              ; preds = %1
  %11 = getelementptr inbounds i8, ptr %2, i64 8
  %12 = getelementptr inbounds i8, ptr %2, i64 12
  %13 = load i32, ptr %0, align 8, !tbaa !12
  %14 = icmp sgt i32 %13, 2
  br i1 %14, label %.preheader111.preheader, label %._crit_edge126

.preheader111.preheader:                          ; preds = %.preheader111.lr.ph
  %15 = getelementptr inbounds i8, ptr %2, i64 1
  %16 = getelementptr inbounds i8, ptr %2, i64 2
  %17 = getelementptr inbounds i8, ptr %2, i64 3
  %18 = getelementptr inbounds i8, ptr %2, i64 4
  %19 = getelementptr inbounds i8, ptr %2, i64 5
  %20 = getelementptr inbounds i8, ptr %2, i64 6
  %21 = getelementptr inbounds i8, ptr %2, i64 7
  %22 = getelementptr inbounds i8, ptr %2, i64 9
  %23 = getelementptr inbounds i8, ptr %2, i64 10
  %24 = getelementptr inbounds i8, ptr %2, i64 11
  %25 = getelementptr inbounds i8, ptr %2, i64 13
  %26 = getelementptr inbounds i8, ptr %2, i64 14
  %27 = getelementptr inbounds i8, ptr %2, i64 15
  %28 = getelementptr inbounds i8, ptr %2, i64 16
  %29 = getelementptr inbounds i8, ptr %2, i64 17
  %30 = getelementptr inbounds i8, ptr %2, i64 18
  %31 = getelementptr inbounds i8, ptr %2, i64 19
  %32 = getelementptr inbounds i8, ptr %2, i64 20
  %33 = getelementptr inbounds i8, ptr %2, i64 21
  %34 = getelementptr inbounds i8, ptr %2, i64 22
  %35 = getelementptr inbounds i8, ptr %2, i64 23
  %36 = getelementptr inbounds i8, ptr %2, i64 24
  br label %.preheader111

.preheader111:                                    ; preds = %.preheader111.preheader, %._crit_edge
  %37 = phi i32 [ %9, %.preheader111.preheader ], [ %92, %._crit_edge ]
  %38 = phi i32 [ %13, %.preheader111.preheader ], [ %93, %._crit_edge ]
  %indvars.iv164 = phi i64 [ 1, %.preheader111.preheader ], [ %indvars.iv.next165.pre-phi, %._crit_edge ]
  %39 = icmp sgt i32 %38, 2
  br i1 %39, label %.preheader110.preheader, label %.preheader111.._crit_edge_crit_edge

.preheader111.._crit_edge_crit_edge:              ; preds = %.preheader111
  %.pre168 = add nuw nsw i64 %indvars.iv164, 1
  br label %._crit_edge

.preheader110.preheader:                          ; preds = %.preheader111
  %40 = trunc i64 %indvars.iv164 to i32
  %41 = add i32 %40, -1
  %42 = trunc i64 %indvars.iv164 to i32
  %43 = add nuw nsw i64 %indvars.iv164, 1
  %44 = trunc i64 %43 to i32
  %45 = trunc i64 %indvars.iv164 to i32
  %46 = add i32 %45, -2
  %47 = trunc i64 %indvars.iv164 to i32
  %48 = add i32 %47, 2
  %49 = trunc nuw nsw i64 %indvars.iv164 to i32
  %50 = trunc nuw nsw i64 %indvars.iv164 to i32
  br label %.preheader110

._crit_edge126:                                   ; preds = %._crit_edge, %.preheader111.lr.ph, %1
  tail call void @_Z12SavePNMImageP5ImagePc(ptr noundef %3, ptr noundef nonnull @.str.20)
  call void @llvm.lifetime.end.p0(i64 25, ptr nonnull %2) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.0)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.19)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.43)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.64)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.83)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.99)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.112)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.122)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %.sroa.129)
  ret void

.preheader110:                                    ; preds = %.preheader110.preheader, %295
  %51 = phi i32 [ %297, %295 ], [ %38, %.preheader110.preheader ]
  %.092124 = phi i32 [ %296, %295 ], [ 1, %.preheader110.preheader ]
  %52 = mul i32 %41, %51
  %53 = add i32 %52, %.092124
  %54 = add i32 %53, -1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds i8, ptr %5, i64 %55
  %57 = load i8, ptr %56, align 1, !tbaa !13
  store i8 %57, ptr %.sroa.0, align 1, !tbaa !13
  %58 = sext i32 %53 to i64
  %59 = getelementptr inbounds i8, ptr %5, i64 %58
  %60 = load i8, ptr %59, align 1, !tbaa !13
  store i8 %60, ptr %.sroa.19, align 1, !tbaa !13
  %61 = add i32 %53, 1
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %5, i64 %62
  %64 = load i8, ptr %63, align 1, !tbaa !13
  store i8 %64, ptr %.sroa.43, align 1, !tbaa !13
  %65 = mul i32 %51, %42
  %66 = add i32 %65, %.092124
  %67 = add i32 %66, -1
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds i8, ptr %5, i64 %68
  %70 = load i8, ptr %69, align 1, !tbaa !13
  store i8 %70, ptr %.sroa.64, align 1, !tbaa !13
  %71 = sext i32 %66 to i64
  %72 = getelementptr inbounds i8, ptr %5, i64 %71
  %73 = load i8, ptr %72, align 1, !tbaa !13
  store i8 %73, ptr %.sroa.83, align 1, !tbaa !13
  %74 = add i32 %66, 1
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i8, ptr %5, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !13
  store i8 %77, ptr %.sroa.99, align 1, !tbaa !13
  %78 = mul i32 %51, %44
  %79 = add i32 %78, %.092124
  %80 = add i32 %79, -1
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds i8, ptr %5, i64 %81
  %83 = load i8, ptr %82, align 1, !tbaa !13
  store i8 %83, ptr %.sroa.112, align 1, !tbaa !13
  %84 = sext i32 %79 to i64
  %85 = getelementptr inbounds i8, ptr %5, i64 %84
  %86 = load i8, ptr %85, align 1, !tbaa !13
  store i8 %86, ptr %.sroa.122, align 1, !tbaa !13
  %87 = add i32 %79, 1
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %5, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !13
  store i8 %90, ptr %.sroa.129, align 1, !tbaa !13
  %91 = icmp ugt i8 %57, %60
  br i1 %91, label %97, label %.critedge

._crit_edge.loopexit:                             ; preds = %295
  %.pre = load i32, ptr %8, align 4, !tbaa !11
  br label %._crit_edge

._crit_edge:                                      ; preds = %.preheader111.._crit_edge_crit_edge, %._crit_edge.loopexit
  %indvars.iv.next165.pre-phi = phi i64 [ %.pre168, %.preheader111.._crit_edge_crit_edge ], [ %43, %._crit_edge.loopexit ]
  %92 = phi i32 [ %37, %.preheader111.._crit_edge_crit_edge ], [ %.pre, %._crit_edge.loopexit ]
  %93 = phi i32 [ %38, %.preheader111.._crit_edge_crit_edge ], [ %297, %._crit_edge.loopexit ]
  %94 = add nsw i32 %92, -1
  %95 = sext i32 %94 to i64
  %96 = icmp slt i64 %indvars.iv.next165.pre-phi, %95
  br i1 %96, label %.preheader111, label %._crit_edge126, !llvm.loop !14

97:                                               ; preds = %.preheader110
  store i8 %57, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge

.critedge:                                        ; preds = %97, %.preheader110
  %.093.lcssa.sroa.phi = phi ptr [ %.sroa.0, %97 ], [ %.sroa.19, %.preheader110 ]
  store i8 %60, ptr %.093.lcssa.sroa.phi, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1.218 = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %98 = icmp ugt i8 %.sroa.19.0..sroa.19.1.218, %64
  br i1 %98, label %99, label %.critedge.1

99:                                               ; preds = %.critedge
  store i8 %.sroa.19.0..sroa.19.1.218, ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.212 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %100 = icmp ugt i8 %.sroa.0.0..sroa.0.0.212, %64
  br i1 %100, label %101, label %.critedge.1

101:                                              ; preds = %99
  store i8 %.sroa.0.0..sroa.0.0.212, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.1

.critedge.1:                                      ; preds = %101, %99, %.critedge
  %.093.lcssa.1.sroa.phi = phi ptr [ %.sroa.43, %.critedge ], [ %.sroa.19, %99 ], [ %.sroa.0, %101 ]
  store i8 %64, ptr %.093.lcssa.1.sroa.phi, align 1, !tbaa !13
  %.sroa.64.0..sroa.64.3.228 = load i8, ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.43.0..sroa.43.2.223 = load i8, ptr %.sroa.43, align 1, !tbaa !13
  %102 = icmp ugt i8 %.sroa.43.0..sroa.43.2.223, %.sroa.64.0..sroa.64.3.228
  br i1 %102, label %103, label %.critedge.2

103:                                              ; preds = %.critedge.1
  store i8 %.sroa.43.0..sroa.43.2.223, ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1.217 = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %104 = icmp ugt i8 %.sroa.19.0..sroa.19.1.217, %.sroa.64.0..sroa.64.3.228
  br i1 %104, label %105, label %.critedge.2

105:                                              ; preds = %103
  store i8 %.sroa.19.0..sroa.19.1.217, ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.211 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %106 = icmp ugt i8 %.sroa.0.0..sroa.0.0.211, %.sroa.64.0..sroa.64.3.228
  br i1 %106, label %107, label %.critedge.2

107:                                              ; preds = %105
  store i8 %.sroa.0.0..sroa.0.0.211, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.2

.critedge.2:                                      ; preds = %107, %105, %103, %.critedge.1
  %.093.lcssa.2.sroa.phi = phi ptr [ %.sroa.64, %.critedge.1 ], [ %.sroa.43, %103 ], [ %.sroa.19, %105 ], [ %.sroa.0, %107 ]
  store i8 %.sroa.64.0..sroa.64.3.228, ptr %.093.lcssa.2.sroa.phi, align 1, !tbaa !13
  %.sroa.64.0..sroa.64.3.227 = load i8, ptr %.sroa.64, align 1, !tbaa !13
  %108 = icmp ugt i8 %.sroa.64.0..sroa.64.3.227, %73
  br i1 %108, label %109, label %.critedge.3

109:                                              ; preds = %.critedge.2
  store i8 %.sroa.64.0..sroa.64.3.227, ptr %.sroa.83, align 1, !tbaa !13
  %.sroa.43.0..sroa.43.2.222 = load i8, ptr %.sroa.43, align 1, !tbaa !13
  %110 = icmp ugt i8 %.sroa.43.0..sroa.43.2.222, %73
  br i1 %110, label %111, label %.critedge.3

111:                                              ; preds = %109
  store i8 %.sroa.43.0..sroa.43.2.222, ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1.216 = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %112 = icmp ugt i8 %.sroa.19.0..sroa.19.1.216, %73
  br i1 %112, label %113, label %.critedge.3

113:                                              ; preds = %111
  store i8 %.sroa.19.0..sroa.19.1.216, ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.210 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %114 = icmp ugt i8 %.sroa.0.0..sroa.0.0.210, %73
  br i1 %114, label %115, label %.critedge.3

115:                                              ; preds = %113
  store i8 %.sroa.0.0..sroa.0.0.210, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.3

.critedge.3:                                      ; preds = %115, %113, %111, %109, %.critedge.2
  %.093.lcssa.3.sroa.phi = phi ptr [ %.sroa.83, %.critedge.2 ], [ %.sroa.64, %109 ], [ %.sroa.43, %111 ], [ %.sroa.19, %113 ], [ %.sroa.0, %115 ]
  store i8 %73, ptr %.093.lcssa.3.sroa.phi, align 1, !tbaa !13
  %.sroa.99.0..sroa.99.5.235 = load i8, ptr %.sroa.99, align 1, !tbaa !13
  %.sroa.83.0..sroa.83.4.229 = load i8, ptr %.sroa.83, align 1, !tbaa !13
  %116 = icmp ugt i8 %.sroa.83.0..sroa.83.4.229, %.sroa.99.0..sroa.99.5.235
  br i1 %116, label %117, label %.critedge.4

117:                                              ; preds = %.critedge.3
  store i8 %.sroa.83.0..sroa.83.4.229, ptr %.sroa.99, align 1, !tbaa !13
  %.sroa.64.0..sroa.64.3.226 = load i8, ptr %.sroa.64, align 1, !tbaa !13
  %118 = icmp ugt i8 %.sroa.64.0..sroa.64.3.226, %.sroa.99.0..sroa.99.5.235
  br i1 %118, label %119, label %.critedge.4

119:                                              ; preds = %117
  store i8 %.sroa.64.0..sroa.64.3.226, ptr %.sroa.83, align 1, !tbaa !13
  %.sroa.43.0..sroa.43.2.221 = load i8, ptr %.sroa.43, align 1, !tbaa !13
  %120 = icmp ugt i8 %.sroa.43.0..sroa.43.2.221, %.sroa.99.0..sroa.99.5.235
  br i1 %120, label %121, label %.critedge.4

121:                                              ; preds = %119
  store i8 %.sroa.43.0..sroa.43.2.221, ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1.215 = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %122 = icmp ugt i8 %.sroa.19.0..sroa.19.1.215, %.sroa.99.0..sroa.99.5.235
  br i1 %122, label %123, label %.critedge.4

123:                                              ; preds = %121
  store i8 %.sroa.19.0..sroa.19.1.215, ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.209 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %124 = icmp ugt i8 %.sroa.0.0..sroa.0.0.209, %.sroa.99.0..sroa.99.5.235
  br i1 %124, label %125, label %.critedge.4

125:                                              ; preds = %123
  store i8 %.sroa.0.0..sroa.0.0.209, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.4

.critedge.4:                                      ; preds = %125, %123, %121, %119, %117, %.critedge.3
  %.093.lcssa.4.sroa.phi = phi ptr [ %.sroa.99, %.critedge.3 ], [ %.sroa.83, %117 ], [ %.sroa.64, %119 ], [ %.sroa.43, %121 ], [ %.sroa.19, %123 ], [ %.sroa.0, %125 ]
  store i8 %.sroa.99.0..sroa.99.5.235, ptr %.093.lcssa.4.sroa.phi, align 1, !tbaa !13
  %.sroa.112.0..sroa.112.6.237 = load i8, ptr %.sroa.112, align 1, !tbaa !13
  %.sroa.99.0..sroa.99.5.234 = load i8, ptr %.sroa.99, align 1, !tbaa !13
  %126 = icmp ugt i8 %.sroa.99.0..sroa.99.5.234, %.sroa.112.0..sroa.112.6.237
  br i1 %126, label %127, label %.critedge.5

127:                                              ; preds = %.critedge.4
  store i8 %.sroa.99.0..sroa.99.5.234, ptr %.sroa.112, align 1, !tbaa !13
  %.sroa.83.0..sroa.83.4.230 = load i8, ptr %.sroa.83, align 1, !tbaa !13
  %128 = icmp ugt i8 %.sroa.83.0..sroa.83.4.230, %.sroa.112.0..sroa.112.6.237
  br i1 %128, label %129, label %.critedge.5

129:                                              ; preds = %127
  store i8 %.sroa.83.0..sroa.83.4.230, ptr %.sroa.99, align 1, !tbaa !13
  %.sroa.64.0..sroa.64.3.225 = load i8, ptr %.sroa.64, align 1, !tbaa !13
  %130 = icmp ugt i8 %.sroa.64.0..sroa.64.3.225, %.sroa.112.0..sroa.112.6.237
  br i1 %130, label %131, label %.critedge.5

131:                                              ; preds = %129
  store i8 %.sroa.64.0..sroa.64.3.225, ptr %.sroa.83, align 1, !tbaa !13
  %.sroa.43.0..sroa.43.2.220 = load i8, ptr %.sroa.43, align 1, !tbaa !13
  %132 = icmp ugt i8 %.sroa.43.0..sroa.43.2.220, %.sroa.112.0..sroa.112.6.237
  br i1 %132, label %133, label %.critedge.5

133:                                              ; preds = %131
  store i8 %.sroa.43.0..sroa.43.2.220, ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1.214 = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %134 = icmp ugt i8 %.sroa.19.0..sroa.19.1.214, %.sroa.112.0..sroa.112.6.237
  br i1 %134, label %135, label %.critedge.5

135:                                              ; preds = %133
  store i8 %.sroa.19.0..sroa.19.1.214, ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.208 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %136 = icmp ugt i8 %.sroa.0.0..sroa.0.0.208, %.sroa.112.0..sroa.112.6.237
  br i1 %136, label %137, label %.critedge.5

137:                                              ; preds = %135
  store i8 %.sroa.0.0..sroa.0.0.208, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.5

.critedge.5:                                      ; preds = %137, %135, %133, %131, %129, %127, %.critedge.4
  %.093.lcssa.5.sroa.phi = phi ptr [ %.sroa.112, %.critedge.4 ], [ %.sroa.99, %127 ], [ %.sroa.83, %129 ], [ %.sroa.64, %131 ], [ %.sroa.43, %133 ], [ %.sroa.19, %135 ], [ %.sroa.0, %137 ]
  store i8 %.sroa.112.0..sroa.112.6.237, ptr %.093.lcssa.5.sroa.phi, align 1, !tbaa !13
  %.sroa.122.0..sroa.122.7.238 = load i8, ptr %.sroa.122, align 1, !tbaa !13
  %.sroa.112.0..sroa.112.6.236 = load i8, ptr %.sroa.112, align 1, !tbaa !13
  %138 = icmp ugt i8 %.sroa.112.0..sroa.112.6.236, %.sroa.122.0..sroa.122.7.238
  br i1 %138, label %139, label %.critedge.6

139:                                              ; preds = %.critedge.5
  store i8 %.sroa.112.0..sroa.112.6.236, ptr %.sroa.122, align 1, !tbaa !13
  %.sroa.99.0..sroa.99.5.233 = load i8, ptr %.sroa.99, align 1, !tbaa !13
  %140 = icmp ugt i8 %.sroa.99.0..sroa.99.5.233, %.sroa.122.0..sroa.122.7.238
  br i1 %140, label %141, label %.critedge.6

141:                                              ; preds = %139
  store i8 %.sroa.99.0..sroa.99.5.233, ptr %.sroa.112, align 1, !tbaa !13
  %.sroa.83.0..sroa.83.4.231 = load i8, ptr %.sroa.83, align 1, !tbaa !13
  %142 = icmp ugt i8 %.sroa.83.0..sroa.83.4.231, %.sroa.122.0..sroa.122.7.238
  br i1 %142, label %143, label %.critedge.6

143:                                              ; preds = %141
  store i8 %.sroa.83.0..sroa.83.4.231, ptr %.sroa.99, align 1, !tbaa !13
  %.sroa.64.0..sroa.64.3.224 = load i8, ptr %.sroa.64, align 1, !tbaa !13
  %144 = icmp ugt i8 %.sroa.64.0..sroa.64.3.224, %.sroa.122.0..sroa.122.7.238
  br i1 %144, label %145, label %.critedge.6

145:                                              ; preds = %143
  store i8 %.sroa.64.0..sroa.64.3.224, ptr %.sroa.83, align 1, !tbaa !13
  %.sroa.43.0..sroa.43.2.219 = load i8, ptr %.sroa.43, align 1, !tbaa !13
  %146 = icmp ugt i8 %.sroa.43.0..sroa.43.2.219, %.sroa.122.0..sroa.122.7.238
  br i1 %146, label %147, label %.critedge.6

147:                                              ; preds = %145
  store i8 %.sroa.43.0..sroa.43.2.219, ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1.213 = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %148 = icmp ugt i8 %.sroa.19.0..sroa.19.1.213, %.sroa.122.0..sroa.122.7.238
  br i1 %148, label %149, label %.critedge.6

149:                                              ; preds = %147
  store i8 %.sroa.19.0..sroa.19.1.213, ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.207 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %150 = icmp ugt i8 %.sroa.0.0..sroa.0.0.207, %.sroa.122.0..sroa.122.7.238
  br i1 %150, label %151, label %.critedge.6

151:                                              ; preds = %149
  store i8 %.sroa.0.0..sroa.0.0.207, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.6

.critedge.6:                                      ; preds = %151, %149, %147, %145, %143, %141, %139, %.critedge.5
  %.093.lcssa.6.sroa.phi = phi ptr [ %.sroa.122, %.critedge.5 ], [ %.sroa.112, %139 ], [ %.sroa.99, %141 ], [ %.sroa.83, %143 ], [ %.sroa.64, %145 ], [ %.sroa.43, %147 ], [ %.sroa.19, %149 ], [ %.sroa.0, %151 ]
  store i8 %.sroa.122.0..sroa.122.7.238, ptr %.093.lcssa.6.sroa.phi, align 1, !tbaa !13
  %.sroa.122.0..sroa.122.7. = load i8, ptr %.sroa.122, align 1, !tbaa !13
  %152 = icmp ugt i8 %.sroa.122.0..sroa.122.7., %90
  br i1 %152, label %153, label %.critedge.7

153:                                              ; preds = %.critedge.6
  store i8 %.sroa.122.0..sroa.122.7., ptr %.sroa.129, align 1, !tbaa !13
  %.sroa.112.0..sroa.112.6. = load i8, ptr %.sroa.112, align 1, !tbaa !13
  %154 = icmp ugt i8 %.sroa.112.0..sroa.112.6., %90
  br i1 %154, label %155, label %.critedge.7

155:                                              ; preds = %153
  store i8 %.sroa.112.0..sroa.112.6., ptr %.sroa.122, align 1, !tbaa !13
  %.sroa.99.0..sroa.99.5. = load i8, ptr %.sroa.99, align 1, !tbaa !13
  %156 = icmp ugt i8 %.sroa.99.0..sroa.99.5., %90
  br i1 %156, label %157, label %.critedge.7

157:                                              ; preds = %155
  store i8 %.sroa.99.0..sroa.99.5., ptr %.sroa.112, align 1, !tbaa !13
  %.sroa.83.0..sroa.83.4.232 = load i8, ptr %.sroa.83, align 1, !tbaa !13
  %158 = icmp ugt i8 %.sroa.83.0..sroa.83.4.232, %90
  br i1 %158, label %159, label %.critedge.7

159:                                              ; preds = %157
  store i8 %.sroa.83.0..sroa.83.4.232, ptr %.sroa.99, align 1, !tbaa !13
  %.sroa.64.0..sroa.64.3. = load i8, ptr %.sroa.64, align 1, !tbaa !13
  %160 = icmp ugt i8 %.sroa.64.0..sroa.64.3., %90
  br i1 %160, label %161, label %.critedge.7

161:                                              ; preds = %159
  store i8 %.sroa.64.0..sroa.64.3., ptr %.sroa.83, align 1, !tbaa !13
  %.sroa.43.0..sroa.43.2. = load i8, ptr %.sroa.43, align 1, !tbaa !13
  %162 = icmp ugt i8 %.sroa.43.0..sroa.43.2., %90
  br i1 %162, label %163, label %.critedge.7

163:                                              ; preds = %161
  store i8 %.sroa.43.0..sroa.43.2., ptr %.sroa.64, align 1, !tbaa !13
  %.sroa.19.0..sroa.19.1. = load i8, ptr %.sroa.19, align 1, !tbaa !13
  %164 = icmp ugt i8 %.sroa.19.0..sroa.19.1., %90
  br i1 %164, label %165, label %.critedge.7

165:                                              ; preds = %163
  store i8 %.sroa.19.0..sroa.19.1., ptr %.sroa.43, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0.206 = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %166 = icmp ugt i8 %.sroa.0.0..sroa.0.0.206, %90
  br i1 %166, label %167, label %.critedge.7

167:                                              ; preds = %165
  store i8 %.sroa.0.0..sroa.0.0.206, ptr %.sroa.19, align 1, !tbaa !13
  br label %.critedge.7

.critedge.7:                                      ; preds = %167, %165, %163, %161, %159, %157, %155, %153, %.critedge.6
  %.093.lcssa.7.sroa.phi = phi ptr [ %.sroa.129, %.critedge.6 ], [ %.sroa.122, %153 ], [ %.sroa.112, %155 ], [ %.sroa.99, %157 ], [ %.sroa.83, %159 ], [ %.sroa.64, %161 ], [ %.sroa.43, %163 ], [ %.sroa.19, %165 ], [ %.sroa.0, %167 ]
  store i8 %90, ptr %.093.lcssa.7.sroa.phi, align 1, !tbaa !13
  %.sroa.0.0..sroa.0.0. = load i8, ptr %.sroa.0, align 1, !tbaa !13
  %.sroa.83.0..sroa.83.4. = load i8, ptr %.sroa.83, align 1, !tbaa !13
  %168 = icmp ult i8 %.sroa.0.0..sroa.0.0., %.sroa.83.0..sroa.83.4.
  br i1 %168, label %169, label %.preheader

169:                                              ; preds = %.critedge.7
  %.sroa.129.0..sroa.129.8. = load i8, ptr %.sroa.129, align 1, !tbaa !13
  %170 = icmp ult i8 %.sroa.83.0..sroa.83.4., %.sroa.129.0..sroa.129.8.
  br i1 %170, label %171, label %.preheader

171:                                              ; preds = %169
  %172 = load i32, ptr %8, align 4, !tbaa !11
  %173 = mul nsw i32 %172, %50
  %174 = add nsw i32 %173, %.092124
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds i8, ptr %5, i64 %175
  %177 = load i8, ptr %176, align 1, !tbaa !13
  %178 = icmp ult i8 %.sroa.0.0..sroa.0.0., %177
  %179 = icmp ult i8 %177, %.sroa.129.0..sroa.129.8.
  %or.cond = and i1 %178, %179
  %180 = mul nsw i32 %51, %50
  %181 = add nsw i32 %180, %.092124
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds i8, ptr %7, i64 %182
  br i1 %or.cond, label %184, label %185

184:                                              ; preds = %171
  store i8 %177, ptr %183, align 1, !tbaa !13
  br label %295

185:                                              ; preds = %171
  store i8 %.sroa.83.0..sroa.83.4., ptr %183, align 1, !tbaa !13
  br label %295

.preheader:                                       ; preds = %169, %.critedge.7
  %186 = mul i32 %46, %51
  %187 = add i32 %186, %.092124
  %188 = add i32 %187, -2
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds i8, ptr %5, i64 %189
  %191 = load i8, ptr %190, align 1, !tbaa !13
  store i8 %191, ptr %2, align 16, !tbaa !13
  %192 = add i32 %187, -1
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds i8, ptr %5, i64 %193
  %195 = load i8, ptr %194, align 1, !tbaa !13
  store i8 %195, ptr %15, align 1, !tbaa !13
  %196 = sext i32 %187 to i64
  %197 = getelementptr inbounds i8, ptr %5, i64 %196
  %198 = load i8, ptr %197, align 1, !tbaa !13
  store i8 %198, ptr %16, align 2, !tbaa !13
  %199 = add i32 %187, 1
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds i8, ptr %5, i64 %200
  %202 = load i8, ptr %201, align 1, !tbaa !13
  store i8 %202, ptr %17, align 1, !tbaa !13
  %203 = add i32 %187, 2
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds i8, ptr %5, i64 %204
  %206 = load i8, ptr %205, align 1, !tbaa !13
  store i8 %206, ptr %18, align 4, !tbaa !13
  %207 = add i32 %53, -2
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds i8, ptr %5, i64 %208
  %210 = load i8, ptr %209, align 1, !tbaa !13
  store i8 %210, ptr %19, align 1, !tbaa !13
  %211 = load i8, ptr %56, align 1, !tbaa !13
  store i8 %211, ptr %20, align 2, !tbaa !13
  %212 = load i8, ptr %59, align 1, !tbaa !13
  store i8 %212, ptr %21, align 1, !tbaa !13
  %213 = load i8, ptr %63, align 1, !tbaa !13
  store i8 %213, ptr %11, align 8, !tbaa !13
  %214 = add i32 %53, 2
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds i8, ptr %5, i64 %215
  %217 = load i8, ptr %216, align 1, !tbaa !13
  store i8 %217, ptr %22, align 1, !tbaa !13
  %218 = add i32 %66, -2
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds i8, ptr %5, i64 %219
  %221 = load i8, ptr %220, align 1, !tbaa !13
  store i8 %221, ptr %23, align 2, !tbaa !13
  %222 = load i8, ptr %69, align 1, !tbaa !13
  store i8 %222, ptr %24, align 1, !tbaa !13
  %223 = load i8, ptr %72, align 1, !tbaa !13
  store i8 %223, ptr %12, align 4, !tbaa !13
  %224 = load i8, ptr %76, align 1, !tbaa !13
  store i8 %224, ptr %25, align 1, !tbaa !13
  %225 = add i32 %66, 2
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds i8, ptr %5, i64 %226
  %228 = load i8, ptr %227, align 1, !tbaa !13
  store i8 %228, ptr %26, align 2, !tbaa !13
  %229 = add i32 %79, -2
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds i8, ptr %5, i64 %230
  %232 = load i8, ptr %231, align 1, !tbaa !13
  store i8 %232, ptr %27, align 1, !tbaa !13
  %233 = load i8, ptr %82, align 1, !tbaa !13
  store i8 %233, ptr %28, align 16, !tbaa !13
  %234 = load i8, ptr %85, align 1, !tbaa !13
  store i8 %234, ptr %29, align 1, !tbaa !13
  %235 = load i8, ptr %89, align 1, !tbaa !13
  store i8 %235, ptr %30, align 2, !tbaa !13
  %236 = add i32 %79, 2
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds i8, ptr %5, i64 %237
  %239 = load i8, ptr %238, align 1, !tbaa !13
  store i8 %239, ptr %31, align 1, !tbaa !13
  %240 = mul i32 %48, %51
  %241 = add i32 %240, %.092124
  %242 = add i32 %241, -2
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %5, i64 %243
  %245 = load i8, ptr %244, align 1, !tbaa !13
  store i8 %245, ptr %32, align 4, !tbaa !13
  %246 = add i32 %241, -1
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds i8, ptr %5, i64 %247
  %249 = load i8, ptr %248, align 1, !tbaa !13
  store i8 %249, ptr %33, align 1, !tbaa !13
  %250 = sext i32 %241 to i64
  %251 = getelementptr inbounds i8, ptr %5, i64 %250
  %252 = load i8, ptr %251, align 1, !tbaa !13
  store i8 %252, ptr %34, align 2, !tbaa !13
  %253 = add i32 %241, 1
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds i8, ptr %5, i64 %254
  %256 = load i8, ptr %255, align 1, !tbaa !13
  store i8 %256, ptr %35, align 1, !tbaa !13
  %257 = add i32 %241, 2
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds i8, ptr %5, i64 %258
  %260 = load i8, ptr %259, align 1, !tbaa !13
  store i8 %260, ptr %36, align 8, !tbaa !13
  br label %.preheader108

261:                                              ; preds = %.critedge2
  %262 = load i32, ptr %8, align 4, !tbaa !11
  %263 = mul nsw i32 %262, %49
  %264 = add nsw i32 %263, %.092124
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds i8, ptr %5, i64 %265
  %267 = load i8, ptr %266, align 1, !tbaa !13
  %268 = load i8, ptr %2, align 16, !tbaa !13
  %269 = icmp ult i8 %268, %267
  %270 = load i8, ptr %11, align 8
  %271 = icmp ult i8 %267, %270
  %or.cond106 = select i1 %269, i1 %271, i1 false
  br i1 %or.cond106, label %284, label %289

.preheader108:                                    ; preds = %.preheader, %.critedge2
  %indvars.iv = phi i64 [ 1, %.preheader ], [ %indvars.iv.next, %.critedge2 ]
  %272 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 %indvars.iv
  %273 = load i8, ptr %272, align 1, !tbaa !13
  br label %274

274:                                              ; preds = %.preheader108, %279
  %indvars.iv159 = phi i64 [ %indvars.iv, %.preheader108 ], [ %indvars.iv.next160, %279 ]
  %indvars.iv.next160 = add nsw i64 %indvars.iv159, -1
  %275 = and i64 %indvars.iv.next160, 4294967295
  %276 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 %275
  %277 = load i8, ptr %276, align 1, !tbaa !13
  %278 = icmp ugt i8 %277, %273
  br i1 %278, label %279, label %.critedge2

279:                                              ; preds = %274
  %280 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 %indvars.iv159
  store i8 %277, ptr %280, align 1, !tbaa !13
  %281 = icmp sgt i64 %indvars.iv159, 1
  br i1 %281, label %274, label %.critedge2, !llvm.loop !17

.critedge2:                                       ; preds = %279, %274
  %.087.lcssa = phi i64 [ 0, %279 ], [ %indvars.iv159, %274 ]
  %sext = shl i64 %.087.lcssa, 32
  %282 = ashr exact i64 %sext, 32
  %283 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 %282
  store i8 %273, ptr %283, align 1, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 25
  br i1 %exitcond.not, label %261, label %.preheader108, !llvm.loop !18

284:                                              ; preds = %261
  %285 = mul nsw i32 %51, %49
  %286 = add nsw i32 %285, %.092124
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds i8, ptr %7, i64 %287
  store i8 %267, ptr %288, align 1, !tbaa !13
  br label %295

289:                                              ; preds = %261
  %290 = load i8, ptr %12, align 4, !tbaa !13
  %291 = mul nsw i32 %51, %49
  %292 = add nsw i32 %291, %.092124
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds i8, ptr %7, i64 %293
  store i8 %290, ptr %294, align 1, !tbaa !13
  br label %295

295:                                              ; preds = %284, %289, %184, %185
  %296 = add nuw nsw i32 %.092124, 1
  %297 = load i32, ptr %0, align 8, !tbaa !12
  %298 = add nsw i32 %297, -1
  %299 = icmp slt i32 %296, %298
  br i1 %299, label %.preheader110, label %._crit_edge.loopexit, !llvm.loop !19
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { 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, !10, i64 16}
!6 = !{!"_ZTS5Image", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !8, i64 24, !7, i64 1524}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15, !16}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.unswitch.partial.disable"}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass