; LLVM IR from niessner/Matterport :: code/gaps/pkgs/R3Shapes/R3Mesh.ll (ZN6R3Mesh11ReadRayFileEPKc)

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

%class.RNArray = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }
%class.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }
%class.R3Mesh = type { ptr, %class.RNArray, %class.RNArray.0, %class.RNArray.1, ptr, ptr, ptr, [128 x i8], %class.R3Box, ptr }
%class.RNArray.0 = type { %class.RNVArray }
%class.RNArray.1 = type { %class.RNVArray }
%class.R3Box = type { %class.R3Solid, %class.R3Point, %class.R3Point }
%class.R3Solid = type { %class.R3Shape }
%class.R3Shape = type { ptr }

@.str.57 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RNArrayIP12R3MeshVertexEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #2 align 2

declare void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0 align 2

declare void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8R3Vector6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #0 align 2

declare void @_Z6RNFailPKcz(ptr noundef, ...) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

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

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nounwind
declare void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6R3Mesh11ReadRayFileEPKc(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca [128 x i8], align 16
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %class.RNArray, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca %class.R3Point, align 8
  %23 = alloca %class.R3Vector, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = call noalias ptr @fopen(ptr noundef %40, ptr noundef @.str.57)
  store ptr %41, ptr %6, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %45, label %43

43:                                               ; preds = %2
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, ...) @_Z6RNFailPKcz(ptr noundef @.str.58, ptr noundef %44)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %330

45:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 128, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @_ZN7RNArrayIP12R3MeshVertexEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11)
  br label %46

46:                                               ; preds = %209, %201, %45
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %49 = invoke i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %47, ptr noundef @.str.59, ptr noundef %48)
          to label %50 unwind label %65

50:                                               ; preds = %46
  %51 = icmp eq i32 %49, 1
  br i1 %51, label %52, label %212

52:                                               ; preds = %50
  %53 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %54 = call i32 @strcmp(ptr noundef %53, ptr noundef @.str.80) #7
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %111, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = invoke i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %57, ptr noundef @.str.81, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
          to label %59 unwind label %69

59:                                               ; preds = %56
  %60 = icmp ne i32 %58, 8
  br i1 %60, label %61, label %73

61:                                               ; preds = %59
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void (ptr, ...) @_Z6RNFailPKcz(ptr noundef @.str.82, i32 noundef %62, ptr noundef %63)
          to label %64 unwind label %69

64:                                               ; preds = %61
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %106

65:                                               ; preds = %324, %46
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %12, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %13, align 4
  br label %329

69:                                               ; preds = %61, %56
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %12, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %13, align 4
  br label %110

73:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  %74 = load double, ptr %14, align 8, !tbaa !11
  %75 = load double, ptr %15, align 8, !tbaa !11
  %76 = load double, ptr %16, align 8, !tbaa !11
  invoke void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %22, double noundef %74, double noundef %75, double noundef %76)
          to label %77 unwind label %91

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  %78 = load double, ptr %17, align 8, !tbaa !11
  %79 = load double, ptr %18, align 8, !tbaa !11
  %80 = load double, ptr %19, align 8, !tbaa !11
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %23, double noundef %78, double noundef %79, double noundef %80)
          to label %81 unwind label %95

81:                                               ; preds = %77
  %82 = invoke noundef i32 @_ZNK8R3Vector6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %83 unwind label %95

83:                                               ; preds = %81
  %84 = icmp ne i32 %82, 0
  br i1 %84, label %85, label %99

85:                                               ; preds = %83
  %86 = load ptr, ptr %39, align 8, !tbaa !13
  %87 = getelementptr inbounds ptr, ptr %86, i64 4
  %88 = load ptr, ptr %87, align 8
  %89 = invoke noundef ptr %88(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef null)
          to label %90 unwind label %95

90:                                               ; preds = %85
  br label %105

91:                                               ; preds = %73
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %12, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %13, align 4
  br label %109

95:                                               ; preds = %99, %85, %81, %77
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %12, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  br label %109

99:                                               ; preds = %83
  %100 = load ptr, ptr %39, align 8, !tbaa !13
  %101 = getelementptr inbounds ptr, ptr %100, i64 5
  %102 = load ptr, ptr %101, align 8
  %103 = invoke noundef ptr %102(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef null)
          to label %104 unwind label %95

104:                                              ; preds = %99
  br label %105

105:                                              ; preds = %104, %90
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  store i32 0, ptr %7, align 4
  br label %106

106:                                              ; preds = %105, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %107 = load i32, ptr %7, align 4
  switch i32 %107, label %328 [
    i32 0, label %108
  ]

108:                                              ; preds = %106
  br label %209

109:                                              ; preds = %95, %91
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  br label %110

110:                                              ; preds = %109, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %329

111:                                              ; preds = %52
  %112 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %113 = call i32 @strcmp(ptr noundef %112, ptr noundef @.str.83) #7
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %208, label %115

115:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = invoke i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %116, ptr noundef @.str.84, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27)
          to label %118 unwind label %124

118:                                              ; preds = %115
  %119 = icmp ne i32 %117, 4
  br i1 %119, label %120, label %128

120:                                              ; preds = %118
  %121 = load i32, ptr %10, align 4, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void (ptr, ...) @_Z6RNFailPKcz(ptr noundef @.str.85, i32 noundef %121, ptr noundef %122)
          to label %123 unwind label %124

123:                                              ; preds = %120
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %201

124:                                              ; preds = %120, %115
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %12, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %13, align 4
  br label %207

128:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %129 = getelementptr inbounds %class.R3Mesh, ptr %39, i32 0, i32 1
  %130 = load i32, ptr %25, align 4, !tbaa !9
  %131 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %129, i32 noundef %130)
          to label %132 unwind label %153

132:                                              ; preds = %128
  store ptr %131, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %133 = getelementptr inbounds %class.R3Mesh, ptr %39, i32 0, i32 1
  %134 = load i32, ptr %26, align 4, !tbaa !9
  %135 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %133, i32 noundef %134)
          to label %136 unwind label %157

136:                                              ; preds = %132
  store ptr %135, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %137 = getelementptr inbounds %class.R3Mesh, ptr %39, i32 0, i32 1
  %138 = load i32, ptr %27, align 4, !tbaa !9
  %139 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %137, i32 noundef %138)
          to label %140 unwind label %161

140:                                              ; preds = %136
  store ptr %139, ptr %30, align 8, !tbaa !5
  %141 = load ptr, ptr %28, align 8, !tbaa !5
  %142 = load ptr, ptr %29, align 8, !tbaa !5
  %143 = icmp eq ptr %141, %142
  br i1 %143, label %152, label %144

144:                                              ; preds = %140
  %145 = load ptr, ptr %29, align 8, !tbaa !5
  %146 = load ptr, ptr %30, align 8, !tbaa !5
  %147 = icmp eq ptr %145, %146
  br i1 %147, label %152, label %148

148:                                              ; preds = %144
  %149 = load ptr, ptr %28, align 8, !tbaa !5
  %150 = load ptr, ptr %30, align 8, !tbaa !5
  %151 = icmp eq ptr %149, %150
  br i1 %151, label %152, label %165

152:                                              ; preds = %148, %144, %140
  store i32 2, ptr %7, align 4
  br label %200, !llvm.loop !15

153:                                              ; preds = %128
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %12, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %13, align 4
  br label %206

157:                                              ; preds = %132
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %12, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %13, align 4
  br label %205

161:                                              ; preds = %136
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %12, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %13, align 4
  br label %204

165:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %166 = load ptr, ptr %28, align 8, !tbaa !5
  %167 = load ptr, ptr %29, align 8, !tbaa !5
  %168 = load ptr, ptr %30, align 8, !tbaa !5
  %169 = load ptr, ptr %39, align 8, !tbaa !13
  %170 = getelementptr inbounds ptr, ptr %169, i64 9
  %171 = load ptr, ptr %170, align 8
  %172 = invoke noundef ptr %171(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %166, ptr noundef %167, ptr noundef %168, ptr noundef null)
          to label %173 unwind label %186

173:                                              ; preds = %165
  store ptr %172, ptr %31, align 8, !tbaa !5
  %174 = load ptr, ptr %31, align 8, !tbaa !5
  %175 = icmp ne ptr %174, null
  br i1 %175, label %190, label %176

176:                                              ; preds = %173
  %177 = load ptr, ptr %28, align 8, !tbaa !5
  %178 = invoke noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %177)
          to label %179 unwind label %186

179:                                              ; preds = %176
  %180 = load ptr, ptr %29, align 8, !tbaa !5
  %181 = invoke noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %180)
          to label %182 unwind label %186

182:                                              ; preds = %179
  %183 = load ptr, ptr %30, align 8, !tbaa !5
  %184 = invoke noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %183)
          to label %185 unwind label %186

185:                                              ; preds = %182
  br label %190

186:                                              ; preds = %193, %182, %179, %176, %165
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %12, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %204

190:                                              ; preds = %185, %173
  %191 = load ptr, ptr %31, align 8, !tbaa !5
  %192 = icmp ne ptr %191, null
  br i1 %192, label %193, label %197

193:                                              ; preds = %190
  %194 = load ptr, ptr %31, align 8, !tbaa !5
  %195 = load i32, ptr %24, align 4, !tbaa !9
  invoke void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %194, i32 noundef %195)
          to label %196 unwind label %186

196:                                              ; preds = %193
  br label %197

197:                                              ; preds = %196, %190
  %198 = load i32, ptr %9, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  store i32 0, ptr %7, align 4
  br label %200

200:                                              ; preds = %197, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %201

201:                                              ; preds = %200, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  %202 = load i32, ptr %7, align 4
  switch i32 %202, label %328 [
    i32 0, label %203
    i32 2, label %46
  ]

203:                                              ; preds = %201
  br label %208

204:                                              ; preds = %186, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %205

205:                                              ; preds = %204, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %206

206:                                              ; preds = %205, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %207

207:                                              ; preds = %206, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %329

208:                                              ; preds = %203, %111
  br label %209

209:                                              ; preds = %208, %108
  %210 = load i32, ptr %10, align 4, !tbaa !9
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %10, align 4, !tbaa !9
  br label %46, !llvm.loop !15

212:                                              ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %213

213:                                              ; preds = %317, %212
  %214 = load i32, ptr %32, align 4, !tbaa !9
  %215 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %216 unwind label %220

216:                                              ; preds = %213
  %217 = sub nsw i32 %215, 3
  %218 = icmp sle i32 %214, %217
  br i1 %218, label %224, label %219

219:                                              ; preds = %216
  store i32 4, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %324

220:                                              ; preds = %213
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %12, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %13, align 4
  br label %323

224:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %225 = load i32, ptr %32, align 4, !tbaa !9
  %226 = add nsw i32 %225, 0
  %227 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %226)
          to label %228 unwind label %289

228:                                              ; preds = %224
  store ptr %227, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %229 = load i32, ptr %32, align 4, !tbaa !9
  %230 = add nsw i32 %229, 1
  %231 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %230)
          to label %232 unwind label %293

232:                                              ; preds = %228
  store ptr %231, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %233 = load i32, ptr %32, align 4, !tbaa !9
  %234 = add nsw i32 %233, 2
  %235 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %234)
          to label %236 unwind label %297

236:                                              ; preds = %232
  store ptr %235, ptr %35, align 8, !tbaa !5
  %237 = load ptr, ptr %33, align 8, !tbaa !5
  %238 = load ptr, ptr %34, align 8, !tbaa !5
  %239 = load ptr, ptr %35, align 8, !tbaa !5
  %240 = load ptr, ptr %39, align 8, !tbaa !13
  %241 = getelementptr inbounds ptr, ptr %240, i64 9
  %242 = load ptr, ptr %241, align 8
  %243 = invoke noundef ptr %242(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %237, ptr noundef %238, ptr noundef %239, ptr noundef null)
          to label %244 unwind label %297

244:                                              ; preds = %236
  %245 = icmp ne ptr %243, null
  br i1 %245, label %316, label %246

246:                                              ; preds = %244
  %247 = load ptr, ptr %33, align 8, !tbaa !5
  %248 = load ptr, ptr %35, align 8, !tbaa !5
  %249 = load ptr, ptr %34, align 8, !tbaa !5
  %250 = load ptr, ptr %39, align 8, !tbaa !13
  %251 = getelementptr inbounds ptr, ptr %250, i64 9
  %252 = load ptr, ptr %251, align 8
  %253 = invoke noundef ptr %252(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %247, ptr noundef %248, ptr noundef %249, ptr noundef null)
          to label %254 unwind label %297

254:                                              ; preds = %246
  %255 = icmp ne ptr %253, null
  br i1 %255, label %315, label %256

256:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %257 = load ptr, ptr %33, align 8, !tbaa !5
  %258 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %257)
          to label %259 unwind label %301

259:                                              ; preds = %256
  %260 = load ptr, ptr %39, align 8, !tbaa !13
  %261 = getelementptr inbounds ptr, ptr %260, i64 4
  %262 = load ptr, ptr %261, align 8
  %263 = invoke noundef ptr %262(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef nonnull align 8 dereferenceable(24) %258, ptr noundef null)
          to label %264 unwind label %301

264:                                              ; preds = %259
  store ptr %263, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %265 = load ptr, ptr %34, align 8, !tbaa !5
  %266 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %265)
          to label %267 unwind label %305

267:                                              ; preds = %264
  %268 = load ptr, ptr %39, align 8, !tbaa !13
  %269 = getelementptr inbounds ptr, ptr %268, i64 4
  %270 = load ptr, ptr %269, align 8
  %271 = invoke noundef ptr %270(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef nonnull align 8 dereferenceable(24) %266, ptr noundef null)
          to label %272 unwind label %305

272:                                              ; preds = %267
  store ptr %271, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %273 = load ptr, ptr %35, align 8, !tbaa !5
  %274 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %273)
          to label %275 unwind label %309

275:                                              ; preds = %272
  %276 = load ptr, ptr %39, align 8, !tbaa !13
  %277 = getelementptr inbounds ptr, ptr %276, i64 4
  %278 = load ptr, ptr %277, align 8
  %279 = invoke noundef ptr %278(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef nonnull align 8 dereferenceable(24) %274, ptr noundef null)
          to label %280 unwind label %309

280:                                              ; preds = %275
  store ptr %279, ptr %38, align 8, !tbaa !5
  %281 = load ptr, ptr %36, align 8, !tbaa !5
  %282 = load ptr, ptr %37, align 8, !tbaa !5
  %283 = load ptr, ptr %38, align 8, !tbaa !5
  %284 = load ptr, ptr %39, align 8, !tbaa !13
  %285 = getelementptr inbounds ptr, ptr %284, i64 9
  %286 = load ptr, ptr %285, align 8
  %287 = invoke noundef ptr %286(ptr noundef nonnull align 8 dereferenceable(272) %39, ptr noundef %281, ptr noundef %282, ptr noundef %283, ptr noundef null)
          to label %288 unwind label %309

288:                                              ; preds = %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %315

289:                                              ; preds = %224
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %12, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %13, align 4
  br label %322

293:                                              ; preds = %228
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %12, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %13, align 4
  br label %321

297:                                              ; preds = %246, %236, %232
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %12, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %13, align 4
  br label %320

301:                                              ; preds = %259, %256
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %12, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %13, align 4
  br label %314

305:                                              ; preds = %267, %264
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %12, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %13, align 4
  br label %313

309:                                              ; preds = %280, %275, %272
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %12, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %313

313:                                              ; preds = %309, %305
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %314

314:                                              ; preds = %313, %301
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %320

315:                                              ; preds = %288, %254
  br label %316

316:                                              ; preds = %315, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %317

317:                                              ; preds = %316
  %318 = load i32, ptr %32, align 4, !tbaa !9
  %319 = add nsw i32 %318, 3
  store i32 %319, ptr %32, align 4, !tbaa !9
  br label %213, !llvm.loop !17

320:                                              ; preds = %314, %297
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %321

321:                                              ; preds = %320, %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %322

322:                                              ; preds = %321, %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %323

323:                                              ; preds = %322, %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %329

324:                                              ; preds = %219
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = invoke i32 @fclose(ptr noundef %325)
          to label %327 unwind label %65

327:                                              ; preds = %324
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %328

328:                                              ; preds = %327, %201, %106
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #6
  br label %330

329:                                              ; preds = %323, %207, %110, %65
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %332

330:                                              ; preds = %328, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %331 = load i32, ptr %3, align 4
  ret i32 %331

332:                                              ; preds = %329
  %333 = load ptr, ptr %12, align 8
  %334 = load i32, ptr %13, align 4
  %335 = insertvalue { ptr, i32 } poison, ptr %333, 0
  %336 = insertvalue { ptr, i32 } %335, i32 %334, 1
  resume { ptr, i32 } %336
}

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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

%class.RNArray = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }
%class.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }

@.str.57 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RNArrayIP12R3MeshVertexEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

declare void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0 align 2

declare void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8R3Vector6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #0 align 2

declare void @_Z6RNFailPKcz(ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5

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

; Function Attrs: nounwind
declare void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6R3Mesh11ReadRayFileEPKc(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca [128 x i8], align 16
  %4 = alloca %class.RNArray, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca %class.R3Point, align 8
  %14 = alloca %class.R3Vector, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.57)
  %.not = icmp eq ptr %19, null
  br i1 %.not, label %20, label %21

20:                                               ; preds = %2
  tail call void (ptr, ...) @_Z6RNFailPKcz(ptr noundef nonnull @.str.58, ptr noundef %1)
  br label %166

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZN7RNArrayIP12R3MeshVertexEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  br label %.outer

.outer:                                           ; preds = %.loopexit118, %21
  %.056.ph = phi i32 [ %104, %.loopexit118 ], [ 1, %21 ]
  br label %23

23:                                               ; preds = %.outer, %102
  %24 = invoke i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %19, ptr noundef nonnull @.str.59, ptr noundef nonnull %3)
          to label %25 unwind label %34

25:                                               ; preds = %23
  %26 = icmp eq i32 %24, 1
  br i1 %26, label %28, label %.preheader

.preheader:                                       ; preds = %25
  %27 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not81135 = icmp slt i32 %27, 3
  br i1 %.not81135, label %._crit_edge, label %.lr.ph

28:                                               ; preds = %25
  %29 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.80) #8
  %.not89 = icmp eq i32 %29, 0
  br i1 %.not89, label %30, label %62

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %31 = invoke i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %19, ptr noundef nonnull @.str.81, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12)
          to label %32 unwind label %.loopexit113

32:                                               ; preds = %30
  %.not90 = icmp eq i32 %31, 8
  br i1 %.not90, label %36, label %33

33:                                               ; preds = %32
  invoke void (ptr, ...) @_Z6RNFailPKcz(ptr noundef nonnull @.str.82, i32 noundef %.056.ph, ptr noundef %1)
          to label %59 unwind label %.loopexit.split-lp114

34:                                               ; preds = %23
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %165

.loopexit113:                                     ; preds = %30
  %lpad.loopexit115 = landingpad { ptr, i32 }
          cleanup
  br label %61

.loopexit.split-lp114:                            ; preds = %33
  %lpad.loopexit.split-lp116 = landingpad { ptr, i32 }
          cleanup
  br label %61

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  %37 = load double, ptr %5, align 8, !tbaa !5
  %38 = load double, ptr %6, align 8, !tbaa !5
  %39 = load double, ptr %7, align 8, !tbaa !5
  invoke void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %13, double noundef %37, double noundef %38, double noundef %39)
          to label %40 unwind label %51

40:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  %41 = load double, ptr %8, align 8, !tbaa !5
  %42 = load double, ptr %9, align 8, !tbaa !5
  %43 = load double, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %14, double noundef %41, double noundef %42, double noundef %43)
          to label %44 unwind label %53

44:                                               ; preds = %40
  %45 = call noundef i32 @_ZNK8R3Vector6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %.not91 = icmp eq i32 %45, 0
  %46 = load ptr, ptr %0, align 8, !tbaa !9
  br i1 %.not91, label %55, label %47

47:                                               ; preds = %44
  %48 = getelementptr inbounds i8, ptr %46, i64 32
  %49 = load ptr, ptr %48, align 8
  %50 = invoke noundef ptr %49(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef null)
          to label %.thread unwind label %53

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %60

53:                                               ; preds = %55, %47, %40
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %60

55:                                               ; preds = %44
  %56 = getelementptr inbounds i8, ptr %46, i64 40
  %57 = load ptr, ptr %56, align 8
  %58 = invoke noundef ptr %57(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef null)
          to label %.thread unwind label %53

.thread:                                          ; preds = %47, %55
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %.loopexit118

59:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %164

60:                                               ; preds = %53, %51
  %.pn92 = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br label %61

61:                                               ; preds = %.loopexit113, %.loopexit.split-lp114, %60
  %.pn94 = phi { ptr, i32 } [ %.pn92, %60 ], [ %lpad.loopexit115, %.loopexit113 ], [ %lpad.loopexit.split-lp116, %.loopexit.split-lp114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %165

62:                                               ; preds = %28
  %63 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.83) #8
  %.not96 = icmp eq i32 %63, 0
  br i1 %.not96, label %64, label %.loopexit118

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  %65 = invoke i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %19, ptr noundef nonnull @.str.84, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18)
          to label %66 unwind label %.loopexit

66:                                               ; preds = %64
  %.not97 = icmp eq i32 %65, 4
  br i1 %.not97, label %68, label %67

67:                                               ; preds = %66
  invoke void (ptr, ...) @_Z6RNFailPKcz(ptr noundef nonnull @.str.85, i32 noundef %.056.ph, ptr noundef %1)
          to label %.thread107 unwind label %.loopexit.split-lp

.thread107:                                       ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %164

.loopexit:                                        ; preds = %64
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %103

.loopexit.split-lp:                               ; preds = %67
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %103

68:                                               ; preds = %66
  %69 = load i32, ptr %16, align 4, !tbaa !11
  %70 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef %69)
          to label %71 unwind label %81

71:                                               ; preds = %68
  %72 = load i32, ptr %17, align 4, !tbaa !11
  %73 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef %72)
          to label %74 unwind label %83

74:                                               ; preds = %71
  %75 = load i32, ptr %18, align 4, !tbaa !11
  %76 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef %75)
          to label %77 unwind label %85

77:                                               ; preds = %74
  %78 = icmp eq ptr %70, %73
  %79 = icmp eq ptr %73, %76
  %or.cond = or i1 %78, %79
  %80 = icmp eq ptr %70, %76
  %or.cond106 = or i1 %80, %or.cond
  br i1 %or.cond106, label %102, label %87, !llvm.loop !13

81:                                               ; preds = %68
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %103

83:                                               ; preds = %71
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %103

85:                                               ; preds = %74
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %103

87:                                               ; preds = %77
  %88 = load ptr, ptr %0, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %88, i64 72
  %90 = load ptr, ptr %89, align 8
  %91 = invoke noundef ptr %90(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %70, ptr noundef %73, ptr noundef %76, ptr noundef null)
          to label %92 unwind label %99

92:                                               ; preds = %87
  %.not98 = icmp eq ptr %91, null
  br i1 %.not98, label %93, label %.critedge

93:                                               ; preds = %92
  %94 = invoke noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %70)
          to label %95 unwind label %99

95:                                               ; preds = %93
  %96 = invoke noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %73)
          to label %97 unwind label %99

97:                                               ; preds = %95
  %98 = invoke noundef ptr @_ZN7RNArrayIP12R3MeshVertexE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %76)
          to label %.thread110 unwind label %99

99:                                               ; preds = %97, %95, %93, %87
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %103

.critedge:                                        ; preds = %92
  %101 = load i32, ptr %15, align 4, !tbaa !11
  call void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull %91, i32 noundef %101)
  br label %.thread110

.thread110:                                       ; preds = %.critedge, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %.loopexit118

102:                                              ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %23

103:                                              ; preds = %.loopexit, %.loopexit.split-lp, %81, %85, %99, %83
  %.pn103 = phi { ptr, i32 } [ %82, %81 ], [ %84, %83 ], [ %100, %99 ], [ %86, %85 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %165

.loopexit118:                                     ; preds = %62, %.thread110, %.thread
  %104 = add nuw nsw i32 %.056.ph, 1
  br label %.outer, !llvm.loop !13

._crit_edge:                                      ; preds = %160, %.preheader
  %105 = call i32 @fclose(ptr noundef nonnull %19)
  br label %164

.lr.ph:                                           ; preds = %.preheader, %160
  %.075136 = phi i32 [ %161, %160 ], [ 0, %.preheader ]
  %106 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %.075136)
          to label %107 unwind label %148

107:                                              ; preds = %.lr.ph
  %108 = add nuw nsw i32 %.075136, 1
  %109 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %108)
          to label %110 unwind label %150

110:                                              ; preds = %107
  %111 = add nuw nsw i32 %.075136, 2
  %112 = invoke noundef ptr @_ZNK7RNArrayIP12R3MeshVertexE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %111)
          to label %113 unwind label %152

113:                                              ; preds = %110
  %114 = load ptr, ptr %0, align 8, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %114, i64 72
  %116 = load ptr, ptr %115, align 8
  %117 = invoke noundef ptr %116(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %106, ptr noundef %109, ptr noundef %112, ptr noundef null)
          to label %118 unwind label %152

118:                                              ; preds = %113
  %.not82 = icmp eq ptr %117, null
  br i1 %.not82, label %119, label %160

119:                                              ; preds = %118
  %120 = load ptr, ptr %0, align 8, !tbaa !9
  %121 = getelementptr inbounds i8, ptr %120, i64 72
  %122 = load ptr, ptr %121, align 8
  %123 = invoke noundef ptr %122(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %106, ptr noundef %112, ptr noundef %109, ptr noundef null)
          to label %124 unwind label %152

124:                                              ; preds = %119
  %.not83 = icmp eq ptr %123, null
  br i1 %.not83, label %125, label %160

125:                                              ; preds = %124
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %106)
  %127 = load ptr, ptr %0, align 8, !tbaa !9
  %128 = getelementptr inbounds i8, ptr %127, i64 32
  %129 = load ptr, ptr %128, align 8
  %130 = invoke noundef ptr %129(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(24) %126, ptr noundef null)
          to label %131 unwind label %154

131:                                              ; preds = %125
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %109)
  %133 = load ptr, ptr %0, align 8, !tbaa !9
  %134 = getelementptr inbounds i8, ptr %133, i64 32
  %135 = load ptr, ptr %134, align 8
  %136 = invoke noundef ptr %135(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef null)
          to label %137 unwind label %156

137:                                              ; preds = %131
  %138 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %112)
  %139 = load ptr, ptr %0, align 8, !tbaa !9
  %140 = getelementptr inbounds i8, ptr %139, i64 32
  %141 = load ptr, ptr %140, align 8
  %142 = invoke noundef ptr %141(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef nonnull align 8 dereferenceable(24) %138, ptr noundef null)
          to label %143 unwind label %158

143:                                              ; preds = %137
  %144 = load ptr, ptr %0, align 8, !tbaa !9
  %145 = getelementptr inbounds i8, ptr %144, i64 72
  %146 = load ptr, ptr %145, align 8
  %147 = invoke noundef ptr %146(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %130, ptr noundef %136, ptr noundef %142, ptr noundef null)
          to label %160 unwind label %158

148:                                              ; preds = %.lr.ph
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %165

150:                                              ; preds = %107
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %165

152:                                              ; preds = %119, %113, %110
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %165

154:                                              ; preds = %125
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %165

156:                                              ; preds = %131
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %165

158:                                              ; preds = %143, %137
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %165

160:                                              ; preds = %143, %124, %118
  %161 = add nuw nsw i32 %.075136, 3
  %162 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %163 = add nsw i32 %162, -3
  %.not81 = icmp sgt i32 %161, %163
  br i1 %.not81, label %._crit_edge, label %.lr.ph, !llvm.loop !15

164:                                              ; preds = %.thread107, %59, %._crit_edge
  %.4 = phi i32 [ 0, %59 ], [ 1, %._crit_edge ], [ 0, %.thread107 ]
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #7
  br label %166

165:                                              ; preds = %148, %152, %156, %158, %154, %150, %103, %61, %34
  %.pn103.pn = phi { ptr, i32 } [ %.pn103, %103 ], [ %.pn94, %61 ], [ %35, %34 ], [ %149, %148 ], [ %151, %150 ], [ %153, %152 ], [ %155, %154 ], [ %159, %158 ], [ %157, %156 ]
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn103.pn

166:                                              ; preds = %164, %20
  %.5 = phi i32 [ %.4, %164 ], [ 0, %20 ]
  ret i32 %.5
}

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) local_unnamed_addr #3

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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