; LLVM IR from jovanlanik/wip :: src (wip_mdl)

; 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.msh_ply_file = type { i32, i32, i32, ptr, ptr, ptr, i32, i32, i32 }
%struct.msh_ply_array_header = type { i64, i64 }
%struct.msh_ply_desc = type { ptr, ptr, i16, i32, i32, ptr, ptr, ptr, i8 }
%struct.msh_ply_element = type { [64 x i8], i32, ptr, i64, ptr, i64 }
%struct.msh_ply_property = type { i32, i16, i32, i32, i16, i32, i32, i32, i32, i32, i64, [32 x i8], ptr, ptr }

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #1

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

declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2

declare i64 @ftell(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @msh_ply_parse_contents(ptr noundef %0) #3 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca [1024 x i8], align 16
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !9
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = call i32 @msh_ply__synchronize_list_sizes(ptr noundef %18)
  store i32 %19, ptr %4, align 4, !tbaa !9
  %20 = load i32, ptr %4, align 4, !tbaa !9
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %24

22:                                               ; preds = %1
  %23 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %23, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %321

24:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %25

25:                                               ; preds = %314, %24
  %26 = load i64, ptr %6, align 8, !tbaa !11
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.msh_ply_file, ptr %27, i32 0, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %38

31:                                               ; preds = %25
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.msh_ply_file, ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %34, i64 -16
  %36 = getelementptr inbounds %struct.msh_ply_array_header, ptr %35, i32 0, i32 0
  %37 = load i64, ptr %36, align 8, !tbaa !15
  br label %39

38:                                               ; preds = %25
  br label %39

39:                                               ; preds = %38, %31
  %40 = phi i64 [ %37, %31 ], [ 0, %38 ]
  %41 = icmp ult i64 %26, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  store i32 2, ptr %5, align 4
  br label %317

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %44 = load i64, ptr %6, align 8, !tbaa !11
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.msh_ply_file, ptr %45, i32 0, i32 3
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %56

49:                                               ; preds = %43
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.msh_ply_file, ptr %50, i32 0, i32 3
  %52 = load ptr, ptr %51, align 8, !tbaa !13
  %53 = getelementptr inbounds i8, ptr %52, i64 -16
  %54 = getelementptr inbounds %struct.msh_ply_array_header, ptr %53, i32 0, i32 0
  %55 = load i64, ptr %54, align 8, !tbaa !15
  br label %57

56:                                               ; preds = %43
  br label %57

57:                                               ; preds = %56, %49
  %58 = phi i64 [ %55, %49 ], [ 0, %56 ]
  %59 = sub i64 %58, 1
  %60 = icmp eq i64 %44, %59
  %61 = zext i1 %60 to i32
  store i32 %61, ptr %7, align 4, !tbaa !9
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %108

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %65

65:                                               ; preds = %103, %64
  %66 = load i64, ptr %8, align 8, !tbaa !11
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.msh_ply_file, ptr %67, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %78

71:                                               ; preds = %65
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.msh_ply_file, ptr %72, i32 0, i32 4
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = getelementptr inbounds i8, ptr %74, i64 -16
  %76 = getelementptr inbounds %struct.msh_ply_array_header, ptr %75, i32 0, i32 0
  %77 = load i64, ptr %76, align 8, !tbaa !15
  br label %79

78:                                               ; preds = %65
  br label %79

79:                                               ; preds = %78, %71
  %80 = phi i64 [ %77, %71 ], [ 0, %78 ]
  %81 = icmp ult i64 %66, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 5, ptr %5, align 4
  br label %106

83:                                               ; preds = %79
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.msh_ply_file, ptr %84, i32 0, i32 4
  %86 = load ptr, ptr %85, align 8, !tbaa !17
  %87 = load i64, ptr %8, align 8, !tbaa !11
  %88 = getelementptr inbounds ptr, ptr %86, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.msh_ply_desc, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !18
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.msh_ply_file, ptr %92, i32 0, i32 3
  %94 = load ptr, ptr %93, align 8, !tbaa !13
  %95 = load i64, ptr %6, align 8, !tbaa !11
  %96 = getelementptr inbounds %struct.msh_ply_element, ptr %94, i64 %95
  %97 = getelementptr inbounds %struct.msh_ply_element, ptr %96, i32 0, i32 0
  %98 = getelementptr inbounds [64 x i8], ptr %97, i64 0, i64 0
  %99 = call i32 @strcmp(ptr noundef %91, ptr noundef %98) #6
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %102, label %101

101:                                              ; preds = %83
  store i32 0, ptr %7, align 4, !tbaa !9
  store i32 5, ptr %5, align 4
  br label %106

102:                                              ; preds = %83
  br label %103

103:                                              ; preds = %102
  %104 = load i64, ptr %8, align 8, !tbaa !11
  %105 = add i64 %104, 1
  store i64 %105, ptr %8, align 8, !tbaa !11
  br label %65, !llvm.loop !21

106:                                              ; preds = %101, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107, %57
  %109 = load i32, ptr %7, align 4, !tbaa !9
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  store i32 4, ptr %5, align 4
  br label %311

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.msh_ply_file, ptr %113, i32 0, i32 3
  %115 = load ptr, ptr %114, align 8, !tbaa !13
  %116 = load i64, ptr %6, align 8, !tbaa !11
  %117 = getelementptr inbounds %struct.msh_ply_element, ptr %115, i64 %116
  store ptr %117, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.msh_ply_element, ptr %118, i32 0, i32 2
  %120 = load ptr, ptr %119, align 8, !tbaa !23
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %129

122:                                              ; preds = %112
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.msh_ply_element, ptr %123, i32 0, i32 2
  %125 = load ptr, ptr %124, align 8, !tbaa !23
  %126 = getelementptr inbounds i8, ptr %125, i64 -16
  %127 = getelementptr inbounds %struct.msh_ply_array_header, ptr %126, i32 0, i32 0
  %128 = load i64, ptr %127, align 8, !tbaa !15
  br label %130

129:                                              ; preds = %112
  br label %130

130:                                              ; preds = %129, %122
  %131 = phi i64 [ %128, %122 ], [ 0, %129 ]
  %132 = trunc i64 %131 to i32
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.msh_ply_element, ptr %133, i32 0, i32 1
  %135 = load i32, ptr %134, align 8, !tbaa !25
  %136 = icmp sle i32 %135, 0
  br i1 %136, label %140, label %137

137:                                              ; preds = %130
  %138 = load i32, ptr %10, align 4, !tbaa !9
  %139 = icmp sle i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %137, %130
  store i32 4, ptr %5, align 4
  br label %310

141:                                              ; preds = %137
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.msh_ply_file, ptr %142, i32 0, i32 5
  %144 = load ptr, ptr %143, align 8, !tbaa !26
  %145 = call i64 @ftell(ptr noundef %144)
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.msh_ply_element, ptr %146, i32 0, i32 3
  store i64 %145, ptr %147, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = call i32 @msh_ply__can_precalculate_sizes(ptr noundef %148)
  store i32 %149, ptr %11, align 4, !tbaa !9
  %150 = load i32, ptr %11, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %294

152:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %153

153:                                              ; preds = %226, %152
  %154 = load i32, ptr %13, align 4, !tbaa !9
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = icmp slt i32 %154, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %153
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %229

158:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.msh_ply_element, ptr %159, i32 0, i32 2
  %161 = load ptr, ptr %160, align 8, !tbaa !23
  %162 = load i32, ptr %13, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds %struct.msh_ply_property, ptr %161, i64 %163
  store ptr %164, ptr %14, align 8, !tbaa !5
  %165 = load ptr, ptr %14, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.msh_ply_property, ptr %165, i32 0, i32 1
  %167 = load i16, ptr %166, align 4, !tbaa !28
  %168 = sext i16 %167 to i32
  %169 = load ptr, ptr %14, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.msh_ply_property, ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 8, !tbaa !30
  %172 = mul nsw i32 %168, %171
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.msh_ply_element, ptr %173, i32 0, i32 1
  %175 = load i32, ptr %174, align 8, !tbaa !25
  %176 = mul nsw i32 %172, %175
  %177 = sext i32 %176 to i64
  %178 = load ptr, ptr %14, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.msh_ply_property, ptr %178, i32 0, i32 10
  store i64 %177, ptr %179, align 8, !tbaa !31
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.msh_ply_property, ptr %180, i32 0, i32 1
  %182 = load i16, ptr %181, align 4, !tbaa !28
  %183 = sext i16 %182 to i32
  %184 = load ptr, ptr %14, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.msh_ply_property, ptr %184, i32 0, i32 0
  %186 = load i32, ptr %185, align 8, !tbaa !30
  %187 = mul nsw i32 %183, %186
  %188 = load i32, ptr %12, align 4, !tbaa !9
  %189 = add nsw i32 %188, %187
  store i32 %189, ptr %12, align 4, !tbaa !9
  %190 = load ptr, ptr %14, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.msh_ply_property, ptr %190, i32 0, i32 8
  %192 = load i32, ptr %191, align 8, !tbaa !32
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %214

194:                                              ; preds = %158
  %195 = load ptr, ptr %14, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.msh_ply_property, ptr %195, i32 0, i32 4
  %197 = load i16, ptr %196, align 8, !tbaa !33
  %198 = sext i16 %197 to i32
  %199 = load ptr, ptr %9, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.msh_ply_element, ptr %199, i32 0, i32 1
  %201 = load i32, ptr %200, align 8, !tbaa !25
  %202 = mul nsw i32 %198, %201
  %203 = sext i32 %202 to i64
  %204 = load ptr, ptr %14, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.msh_ply_property, ptr %204, i32 0, i32 10
  %206 = load i64, ptr %205, align 8, !tbaa !31
  %207 = add i64 %206, %203
  store i64 %207, ptr %205, align 8, !tbaa !31
  %208 = load ptr, ptr %14, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.msh_ply_property, ptr %208, i32 0, i32 4
  %210 = load i16, ptr %209, align 8, !tbaa !33
  %211 = sext i16 %210 to i32
  %212 = load i32, ptr %12, align 4, !tbaa !9
  %213 = add nsw i32 %212, %211
  store i32 %213, ptr %12, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %194, %158
  %215 = load ptr, ptr %14, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.msh_ply_property, ptr %215, i32 0, i32 0
  %217 = load i32, ptr %216, align 8, !tbaa !30
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.msh_ply_element, ptr %218, i32 0, i32 1
  %220 = load i32, ptr %219, align 8, !tbaa !25
  %221 = mul nsw i32 %217, %220
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.msh_ply_property, ptr %222, i32 0, i32 9
  %224 = load i32, ptr %223, align 4, !tbaa !34
  %225 = add nsw i32 %224, %221
  store i32 %225, ptr %223, align 4, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %226

226:                                              ; preds = %214
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %13, align 4, !tbaa !9
  br label %153, !llvm.loop !35

229:                                              ; preds = %157
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.msh_ply_file, ptr %230, i32 0, i32 1
  %232 = load i32, ptr %231, align 4, !tbaa !36
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %245

234:                                              ; preds = %229
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.msh_ply_file, ptr %235, i32 0, i32 5
  %237 = load ptr, ptr %236, align 8, !tbaa !26
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.msh_ply_element, ptr %238, i32 0, i32 1
  %240 = load i32, ptr %239, align 8, !tbaa !25
  %241 = load i32, ptr %12, align 4, !tbaa !9
  %242 = mul nsw i32 %240, %241
  %243 = sext i32 %242 to i64
  %244 = call i32 @fseek(ptr noundef %237, i64 noundef %243, i32 noundef 1)
  br label %290

245:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 1024, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !11
  br label %246

246:                                              ; preds = %281, %245
  %247 = load i64, ptr %16, align 8, !tbaa !11
  %248 = load ptr, ptr %9, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.msh_ply_element, ptr %248, i32 0, i32 1
  %250 = load i32, ptr %249, align 8, !tbaa !25
  %251 = sext i32 %250 to i64
  %252 = icmp ult i64 %247, %251
  br i1 %252, label %254, label %253

253:                                              ; preds = %246
  store i32 11, ptr %5, align 4
  br label %284

254:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %255 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.msh_ply_file, ptr %256, i32 0, i32 5
  %258 = load ptr, ptr %257, align 8, !tbaa !26
  %259 = call ptr @fgets(ptr noundef %255, i32 noundef 1024, ptr noundef %258)
  store ptr %259, ptr %17, align 8, !tbaa !5
  %260 = load ptr, ptr %17, align 8, !tbaa !5
  %261 = icmp ne ptr %260, null
  br i1 %261, label %277, label %262

262:                                              ; preds = %254
  %263 = load ptr, ptr %3, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.msh_ply_file, ptr %263, i32 0, i32 5
  %265 = load ptr, ptr %264, align 8, !tbaa !26
  %266 = call i32 @ferror(ptr noundef %265) #5
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %269

268:                                              ; preds = %262
  store i32 24, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %278

269:                                              ; preds = %262
  %270 = load ptr, ptr %3, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.msh_ply_file, ptr %270, i32 0, i32 5
  %272 = load ptr, ptr %271, align 8, !tbaa !26
  %273 = call i32 @feof(ptr noundef %272) #5
  %274 = icmp ne i32 %273, 0
  br i1 %274, label %275, label %276

275:                                              ; preds = %269
  store i32 25, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %278

276:                                              ; preds = %269
  br label %277

277:                                              ; preds = %276, %254
  store i32 0, ptr %5, align 4
  br label %278

278:                                              ; preds = %277, %275, %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %279 = load i32, ptr %5, align 4
  switch i32 %279, label %284 [
    i32 0, label %280
  ]

280:                                              ; preds = %278
  br label %281

281:                                              ; preds = %280
  %282 = load i64, ptr %16, align 8, !tbaa !11
  %283 = add i64 %282, 1
  store i64 %283, ptr %16, align 8, !tbaa !11
  br label %246, !llvm.loop !37

284:                                              ; preds = %278, %253
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %285 = load i32, ptr %5, align 4
  switch i32 %285, label %287 [
    i32 11, label %286
  ]

286:                                              ; preds = %284
  store i32 0, ptr %5, align 4
  br label %287

287:                                              ; preds = %286, %284
  call void @llvm.lifetime.end.p0(i64 1024, ptr %15) #5
  %288 = load i32, ptr %5, align 4
  switch i32 %288, label %291 [
    i32 0, label %289
  ]

289:                                              ; preds = %287
  br label %290

290:                                              ; preds = %289, %234
  store i32 0, ptr %5, align 4
  br label %291

291:                                              ; preds = %290, %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %292 = load i32, ptr %5, align 4
  switch i32 %292, label %309 [
    i32 0, label %293
  ]

293:                                              ; preds = %291
  br label %308

294:                                              ; preds = %141
  %295 = load ptr, ptr %3, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.msh_ply_file, ptr %295, i32 0, i32 1
  %297 = load i32, ptr %296, align 4, !tbaa !36
  %298 = icmp eq i32 %297, 0
  br i1 %298, label %299, label %303

299:                                              ; preds = %294
  %300 = load ptr, ptr %3, align 8, !tbaa !5
  %301 = load ptr, ptr %9, align 8, !tbaa !5
  %302 = call i32 @msh_ply__calculate_elem_size_ascii(ptr noundef %300, ptr noundef %301)
  store i32 %302, ptr %4, align 4, !tbaa !9
  br label %307

303:                                              ; preds = %294
  %304 = load ptr, ptr %3, align 8, !tbaa !5
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = call i32 @msh_ply__calculate_elem_size_binary(ptr noundef %304, ptr noundef %305)
  store i32 %306, ptr %4, align 4, !tbaa !9
  br label %307

307:                                              ; preds = %303, %299
  br label %308

308:                                              ; preds = %307, %293
  store i32 0, ptr %5, align 4
  br label %309

309:                                              ; preds = %308, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %310

310:                                              ; preds = %309, %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %311

311:                                              ; preds = %310, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  %312 = load i32, ptr %5, align 4
  switch i32 %312, label %317 [
    i32 0, label %313
    i32 4, label %314
  ]

313:                                              ; preds = %311
  br label %314

314:                                              ; preds = %313, %311
  %315 = load i64, ptr %6, align 8, !tbaa !11
  %316 = add i64 %315, 1
  store i64 %316, ptr %6, align 8, !tbaa !11
  br label %25, !llvm.loop !38

317:                                              ; preds = %311, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %318 = load i32, ptr %5, align 4
  switch i32 %318, label %321 [
    i32 2, label %319
  ]

319:                                              ; preds = %317
  %320 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %320, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %321

321:                                              ; preds = %319, %317, %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  %322 = load i32, ptr %2, align 4
  ret i32 %322
}

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__synchronize_list_sizes(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__can_precalculate_sizes(ptr noundef) #3

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #2

; Function Attrs: nounwind
declare i32 @ferror(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @feof(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__calculate_elem_size_ascii(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__calculate_elem_size_binary(ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "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 = { "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 #3 = { 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 #4 = { nounwind "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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"msh_ply_file", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48}
!15 = !{!16, !12, i64 0}
!16 = !{!"msh_ply_array_header", !12, i64 0, !12, i64 8}
!17 = !{!14, !6, i64 24}
!18 = !{!19, !6, i64 0}
!19 = !{!"msh_ply_desc", !6, i64 0, !6, i64 8, !20, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !7, i64 56}
!20 = !{!"short", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !6, i64 72}
!24 = !{!"msh_ply_element", !7, i64 0, !10, i64 64, !6, i64 72, !12, i64 80, !6, i64 88, !12, i64 96}
!25 = !{!24, !10, i64 64}
!26 = !{!14, !6, i64 32}
!27 = !{!24, !12, i64 80}
!28 = !{!29, !20, i64 4}
!29 = !{!"msh_ply_property", !10, i64 0, !20, i64 4, !10, i64 8, !10, i64 12, !20, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !12, i64 40, !7, i64 48, !6, i64 80, !6, i64 88}
!30 = !{!29, !10, i64 0}
!31 = !{!29, !12, i64 40}
!32 = !{!29, !10, i64 32}
!33 = !{!29, !20, i64 16}
!34 = !{!29, !10, i64 36}
!35 = distinct !{!35, !22}
!36 = !{!14, !10, i64 4}
!37 = distinct !{!37, !22}
!38 = distinct !{!38, !22}


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

%struct.msh_ply_element = type { [64 x i8], i32, ptr, i64, ptr, i64 }
%struct.msh_ply_property = type { i32, i16, i32, i32, i16, i32, i32, i32, i32, i32, i64, [32 x i8], ptr, ptr }

; 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 nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

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

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @msh_ply_parse_contents(ptr noundef %0) local_unnamed_addr #3 {
  %2 = alloca [1024 x i8], align 16
  %3 = tail call i32 @msh_ply__synchronize_list_sizes(ptr noundef %0)
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %.preheader157, label %.loopexit

.preheader157:                                    ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %.not107165 = icmp eq ptr %5, null
  br i1 %.not107165, label %.loopexit, label %.thread.lr.ph

.thread.lr.ph:                                    ; preds = %.preheader157
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  br label %.thread

.thread:                                          ; preds = %.thread.lr.ph, %.thread133
  %9 = phi ptr [ %5, %.thread.lr.ph ], [ %99, %.thread133 ]
  %.080168 = phi i32 [ 0, %.thread.lr.ph ], [ %.484137, %.thread133 ]
  %.096166 = phi i64 [ 0, %.thread.lr.ph ], [ %98, %.thread133 ]
  %10 = getelementptr inbounds i8, ptr %9, i64 -16
  %11 = load i64, ptr %10, align 8, !tbaa !11
  %12 = icmp ult i64 %.096166, %11
  br i1 %12, label %13, label %.loopexit

13:                                               ; preds = %.thread
  %14 = add i64 %11, -1
  %.not155 = icmp eq i64 %.096166, %14
  br i1 %.not155, label %.preheader156, label %.thread123

.preheader156:                                    ; preds = %13
  %15 = load ptr, ptr %6, align 8, !tbaa !14
  %.not109 = icmp eq ptr %15, null
  %16 = getelementptr inbounds %struct.msh_ply_element, ptr %9, i64 %.096166
  br i1 %.not109, label %.thread133, label %.preheader156.split

.preheader156.split:                              ; preds = %.preheader156
  %17 = getelementptr inbounds i8, ptr %15, i64 -16
  %18 = load i64, ptr %17, align 8, !tbaa !11
  br label %19

19:                                               ; preds = %20, %.preheader156.split
  %.099 = phi i64 [ %25, %20 ], [ 0, %.preheader156.split ]
  %exitcond.not = icmp eq i64 %.099, %18
  br i1 %exitcond.not, label %.thread133, label %20

20:                                               ; preds = %19
  %21 = getelementptr inbounds ptr, ptr %15, i64 %.099
  %22 = load ptr, ptr %21, align 8, !tbaa !15
  %23 = load ptr, ptr %22, align 8, !tbaa !16
  %24 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) %16) #5
  %.not110 = icmp eq i32 %24, 0
  %25 = add i64 %.099, 1
  br i1 %.not110, label %.thread123, label %19, !llvm.loop !19

.thread123:                                       ; preds = %20, %13
  %26 = getelementptr inbounds %struct.msh_ply_element, ptr %9, i64 %.096166
  %27 = getelementptr inbounds i8, ptr %26, i64 72
  %28 = load ptr, ptr %27, align 8, !tbaa !21
  %.not112 = icmp eq ptr %28, null
  br i1 %.not112, label %.thread133, label %29

29:                                               ; preds = %.thread123
  %30 = getelementptr inbounds i8, ptr %28, i64 -16
  %31 = load i64, ptr %30, align 8, !tbaa !11
  %32 = trunc i64 %31 to i32
  %33 = getelementptr inbounds i8, ptr %26, i64 64
  %34 = load i32, ptr %33, align 8, !tbaa !23
  %35 = icmp slt i32 %34, 1
  %36 = icmp slt i32 %32, 1
  %or.cond = select i1 %35, i1 true, i1 %36
  br i1 %or.cond, label %.thread133, label %37

37:                                               ; preds = %29
  %38 = load ptr, ptr %7, align 8, !tbaa !24
  %39 = call i64 @ftell(ptr noundef %38)
  %40 = getelementptr inbounds i8, ptr %26, i64 80
  store i64 %39, ptr %40, align 8, !tbaa !25
  %41 = call i32 @msh_ply__can_precalculate_sizes(ptr noundef nonnull %26)
  %.not113 = icmp eq i32 %41, 0
  br i1 %.not113, label %90, label %.lr.ph

.lr.ph:                                           ; preds = %37
  %42 = load ptr, ptr %27, align 8, !tbaa !21
  %43 = load i32, ptr %33, align 8, !tbaa !23
  %wide.trip.count = and i64 %31, 2147483647
  br label %45

._crit_edge:                                      ; preds = %66
  %44 = load i32, ptr %8, align 4, !tbaa !26
  %.not114 = icmp eq i32 %44, 0
  br i1 %.not114, label %77, label %71

45:                                               ; preds = %.lr.ph, %66
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %66 ]
  %.087159 = phi i32 [ 0, %.lr.ph ], [ %.188, %66 ]
  %46 = getelementptr inbounds %struct.msh_ply_property, ptr %42, i64 %indvars.iv
  %47 = getelementptr inbounds i8, ptr %46, i64 4
  %48 = load i16, ptr %47, align 4, !tbaa !27
  %49 = sext i16 %48 to i32
  %50 = load i32, ptr %46, align 8, !tbaa !29
  %51 = mul nsw i32 %50, %49
  %52 = mul nsw i32 %51, %43
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds i8, ptr %46, i64 40
  store i64 %53, ptr %54, align 8, !tbaa !30
  %55 = add nsw i32 %51, %.087159
  %56 = getelementptr inbounds i8, ptr %46, i64 32
  %57 = load i32, ptr %56, align 8, !tbaa !31
  %.not119 = icmp eq i32 %57, 0
  br i1 %.not119, label %66, label %58

58:                                               ; preds = %45
  %59 = getelementptr inbounds i8, ptr %46, i64 16
  %60 = load i16, ptr %59, align 8, !tbaa !32
  %61 = sext i16 %60 to i32
  %62 = mul nsw i32 %43, %61
  %63 = sext i32 %62 to i64
  %64 = add nsw i64 %63, %53
  store i64 %64, ptr %54, align 8, !tbaa !30
  %65 = add nsw i32 %55, %61
  br label %66

66:                                               ; preds = %58, %45
  %.188 = phi i32 [ %65, %58 ], [ %55, %45 ]
  %67 = mul nsw i32 %43, %50
  %68 = getelementptr inbounds i8, ptr %46, i64 36
  %69 = load i32, ptr %68, align 4, !tbaa !33
  %70 = add nsw i32 %69, %67
  store i32 %70, ptr %68, align 4, !tbaa !33
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond172.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond172.not, label %._crit_edge, label %45, !llvm.loop !34

71:                                               ; preds = %._crit_edge
  %72 = load ptr, ptr %7, align 8, !tbaa !24
  %73 = load i32, ptr %33, align 8, !tbaa !23
  %74 = mul nsw i32 %73, %.188
  %75 = sext i32 %74 to i64
  %76 = call i32 @fseek(ptr noundef %72, i64 noundef %75, i32 noundef 1)
  br label %.thread133

77:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #6
  %78 = load i32, ptr %33, align 8, !tbaa !23
  %.not118161.not = icmp eq i32 %78, 0
  br i1 %.not118161.not, label %.thread129, label %.lr.ph164

.lr.ph164:                                        ; preds = %77, %86
  %.079162 = phi i64 [ %87, %86 ], [ 0, %77 ]
  %79 = load ptr, ptr %7, align 8, !tbaa !24
  %80 = call ptr @fgets(ptr noundef nonnull %2, i32 noundef 1024, ptr noundef %79)
  %.not115 = icmp eq ptr %80, null
  br i1 %.not115, label %81, label %86

81:                                               ; preds = %.lr.ph164
  %82 = load ptr, ptr %7, align 8, !tbaa !24
  %83 = call i32 @ferror(ptr noundef %82) #6
  %.not116 = icmp eq i32 %83, 0
  br i1 %.not116, label %84, label %97

84:                                               ; preds = %81
  %85 = call i32 @feof(ptr noundef %82) #6
  %.not117 = icmp eq i32 %85, 0
  br i1 %.not117, label %86, label %97

86:                                               ; preds = %84, %.lr.ph164
  %87 = add nuw i64 %.079162, 1
  %88 = load i32, ptr %33, align 8, !tbaa !23
  %89 = sext i32 %88 to i64
  %.not118 = icmp ult i64 %87, %89
  br i1 %.not118, label %.lr.ph164, label %.thread129, !llvm.loop !35

.thread129:                                       ; preds = %86, %77
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #6
  br label %.thread133

90:                                               ; preds = %37
  %91 = load i32, ptr %8, align 4, !tbaa !26
  %92 = icmp eq i32 %91, 0
  br i1 %92, label %93, label %95

93:                                               ; preds = %90
  %94 = call i32 @msh_ply__calculate_elem_size_ascii(ptr noundef nonnull %0, ptr noundef nonnull %26)
  br label %.thread133

95:                                               ; preds = %90
  %96 = call i32 @msh_ply__calculate_elem_size_binary(ptr noundef nonnull %0, ptr noundef nonnull %26)
  br label %.thread133

97:                                               ; preds = %84, %81
  %.3.ph = phi i32 [ 24, %81 ], [ 25, %84 ]
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #6
  br label %.loopexit

.thread133:                                       ; preds = %19, %.preheader156, %.thread129, %71, %.thread123, %95, %93, %29
  %.484137 = phi i32 [ %96, %95 ], [ %94, %93 ], [ %.080168, %29 ], [ %.080168, %.thread123 ], [ %.080168, %71 ], [ %.080168, %.thread129 ], [ %.080168, %.preheader156 ], [ %.080168, %19 ]
  %98 = add i64 %.096166, 1
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %.not107 = icmp eq ptr %99, null
  br i1 %.not107, label %.loopexit, label %.thread, !llvm.loop !36

.loopexit:                                        ; preds = %.thread, %.thread133, %.preheader157, %97, %1
  %.11 = phi i32 [ %3, %1 ], [ %.3.ph, %97 ], [ 0, %.preheader157 ], [ %.080168, %.thread ], [ %.484137, %.thread133 ]
  ret i32 %.11
}

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__synchronize_list_sizes(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__can_precalculate_sizes(ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind memory(read)
declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @feof(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__calculate_elem_size_ascii(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @msh_ply__calculate_elem_size_binary(ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree nounwind "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 #3 = { 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 #4 = { nofree nounwind memory(read) "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 #5 = { nounwind willreturn memory(read) }
attributes #6 = { 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 = !{!"msh_ply_file", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !7, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"msh_ply_array_header", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !10, i64 24}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"msh_ply_desc", !10, i64 0, !10, i64 8, !18, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !8, i64 56}
!18 = !{!"short", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !10, i64 72}
!22 = !{!"msh_ply_element", !8, i64 0, !7, i64 64, !10, i64 72, !13, i64 80, !10, i64 88, !13, i64 96}
!23 = !{!22, !7, i64 64}
!24 = !{!6, !10, i64 32}
!25 = !{!22, !13, i64 80}
!26 = !{!6, !7, i64 4}
!27 = !{!28, !18, i64 4}
!28 = !{!"msh_ply_property", !7, i64 0, !18, i64 4, !7, i64 8, !7, i64 12, !18, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !13, i64 40, !8, i64 48, !10, i64 80, !10, i64 88}
!29 = !{!28, !7, i64 0}
!30 = !{!28, !13, i64 40}
!31 = !{!28, !7, i64 32}
!32 = !{!28, !18, i64 16}
!33 = !{!28, !7, i64 36}
!34 = distinct !{!34, !20}
!35 = distinct !{!35, !20}
!36 = distinct !{!36, !20}


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