; LLVM IR from niessner/Matterport :: code/gaps/pkgs/RGBD/RGBDConfiguration.ll (ZN17RGBDConfiguration8ReadFileEPKci)

; 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.R3Matrix = type { [3 x [3 x double]] }
%class.R4Matrix = type { [4 x [4 x double]] }
%class.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }
%class.RGBDConfiguration = type { ptr, %class.RNArray, %class.RNArray.0, ptr, ptr, ptr, ptr, %class.R3Box }
%class.RNArray = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }
%class.RNArray.0 = type { %class.RNVArray }
%class.R3Box = type { %class.R3Solid, %class.R3Point, %class.R3Point }
%class.R3Solid = type { %class.R3Shape }
%class.R3Shape = type { ptr }

@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@R3identity_matrix = external global %class.R3Matrix, align 8
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [46 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration17SetColorDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration17SetDepthDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration19SetTextureDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration16SetDatasetFormatEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN17RGBDConfiguration8ReadFileEPKci(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, i32 noundef %2) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %class.R3Matrix, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca [4096 x i8], align 16
  %13 = alloca i32, align 4
  %14 = alloca [4096 x i8], align 16
  %15 = alloca [1024 x i8], align 16
  %16 = alloca [4096 x i8], align 16
  %17 = alloca [4096 x i8], align 16
  %18 = alloca ptr, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca %class.R3Matrix, align 8
  %31 = alloca [9 x double], align 16
  %32 = alloca %class.R3Matrix, align 8
  %33 = alloca [9 x double], align 16
  %34 = alloca %class.R3Matrix, align 8
  %35 = alloca [16 x double], align 16
  %36 = alloca [4096 x i8], align 16
  %37 = alloca [4096 x i8], align 16
  %38 = alloca ptr, align 8
  %39 = alloca %class.R4Matrix, align 8
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca i1, align 1
  %43 = alloca [4096 x i8], align 16
  %44 = alloca double, align 8
  %45 = alloca [3 x double], align 16
  %46 = alloca [3 x double], align 16
  %47 = alloca [3 x double], align 16
  %48 = alloca [2 x double], align 16
  %49 = alloca %class.R3Point, align 8
  %50 = alloca %class.R3Vector, align 8
  %51 = alloca %class.R3Vector, align 8
  %52 = alloca %class.R3Vector, align 8
  %53 = alloca ptr, align 8
  %54 = alloca ptr, align 8
  %55 = alloca [4096 x i8], align 16
  %56 = alloca [4096 x i8], align 16
  %57 = alloca double, align 8
  %58 = alloca ptr, align 8
  %59 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  %60 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %9) #9
  call void @_ZN8R3MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull align 8 dereferenceable(72) @R3identity_matrix)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = call noalias ptr @fopen(ptr noundef %61, ptr noundef @.str.15)
  store ptr %62, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %69, label %65

65:                                               ; preds = %3
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.16, ptr noundef %67) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %501

69:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4096, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %491, %489, %69
  %71 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = call ptr @fgets(ptr noundef %71, i32 noundef 4096, ptr noundef %72)
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %493

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4096, ptr %14) #9
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %13, align 4, !tbaa !9
  %78 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %79 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %80 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %78, ptr noundef @.str.17, ptr noundef %79) #9
  %81 = icmp ne i32 %80, 1
  br i1 %81, label %82, label %83

82:                                               ; preds = %75
  store i32 2, ptr %11, align 4
  br label %489, !llvm.loop !11

83:                                               ; preds = %75
  %84 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %85 = load i8, ptr %84, align 16, !tbaa !13
  %86 = sext i8 %85 to i32
  %87 = icmp eq i32 %86, 35
  br i1 %87, label %88, label %89

88:                                               ; preds = %83
  store i32 2, ptr %11, align 4
  br label %489, !llvm.loop !11

89:                                               ; preds = %83
  %90 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %91 = call i32 @strcmp(ptr noundef %90, ptr noundef @.str.18) #10
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %109, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1024, ptr %15) #9
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 1024, i1 false)
  %94 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %95 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %96 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
  %97 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %94, ptr noundef @.str.19, ptr noundef %95, ptr noundef %96) #9
  %98 = icmp ne i32 %97, 2
  br i1 %98, label %99, label %104

99:                                               ; preds = %93
  %100 = load ptr, ptr @stderr, align 8, !tbaa !5
  %101 = load i32, ptr %13, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.20, i32 noundef %101, ptr noundef %102) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %106

104:                                              ; preds = %93
  %105 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0
  call void @_ZN17RGBDConfiguration16SetDatasetFormatEPKc(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %105)
  store i32 0, ptr %11, align 4
  br label %106

106:                                              ; preds = %104, %99
  call void @llvm.lifetime.end.p0(i64 1024, ptr %15) #9
  %107 = load i32, ptr %11, align 4
  switch i32 %107, label %489 [
    i32 0, label %108
  ]

108:                                              ; preds = %106
  br label %488

109:                                              ; preds = %89
  %110 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %111 = call i32 @strcmp(ptr noundef %110, ptr noundef @.str.21) #10
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %125

113:                                              ; preds = %109
  %114 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %115 = call i32 @strcmp(ptr noundef %114, ptr noundef @.str.22) #10
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %125

117:                                              ; preds = %113
  %118 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %119 = call i32 @strcmp(ptr noundef %118, ptr noundef @.str.23) #10
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %125

121:                                              ; preds = %117
  %122 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %123 = call i32 @strcmp(ptr noundef %122, ptr noundef @.str.24) #10
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %167, label %125

125:                                              ; preds = %121, %117, %113, %109
  call void @llvm.lifetime.start.p0(i64 4096, ptr %16) #9
  %126 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %127 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %128 = getelementptr inbounds [4096 x i8], ptr %16, i64 0, i64 0
  %129 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %126, ptr noundef @.str.19, ptr noundef %127, ptr noundef %128) #9
  %130 = icmp ne i32 %129, 2
  br i1 %130, label %131, label %136

131:                                              ; preds = %125
  %132 = load ptr, ptr @stderr, align 8, !tbaa !5
  %133 = load i32, ptr %13, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.20, i32 noundef %133, ptr noundef %134) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %164

136:                                              ; preds = %125
  %137 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %138 = call i32 @strcmp(ptr noundef %137, ptr noundef @.str.21) #10
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %142, label %140

140:                                              ; preds = %136
  %141 = getelementptr inbounds [4096 x i8], ptr %16, i64 0, i64 0
  call void @_ZN17RGBDConfiguration17SetDepthDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %141)
  br label %163

142:                                              ; preds = %136
  %143 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %144 = call i32 @strcmp(ptr noundef %143, ptr noundef @.str.22) #10
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %148, label %146

146:                                              ; preds = %142
  %147 = getelementptr inbounds [4096 x i8], ptr %16, i64 0, i64 0
  call void @_ZN17RGBDConfiguration17SetColorDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %147)
  br label %162

148:                                              ; preds = %142
  %149 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %150 = call i32 @strcmp(ptr noundef %149, ptr noundef @.str.24) #10
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %154, label %152

152:                                              ; preds = %148
  %153 = getelementptr inbounds [4096 x i8], ptr %16, i64 0, i64 0
  call void @_ZN17RGBDConfiguration17SetColorDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %153)
  br label %161

154:                                              ; preds = %148
  %155 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %156 = call i32 @strcmp(ptr noundef %155, ptr noundef @.str.23) #10
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %160, label %158

158:                                              ; preds = %154
  %159 = getelementptr inbounds [4096 x i8], ptr %16, i64 0, i64 0
  call void @_ZN17RGBDConfiguration19SetTextureDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %159)
  br label %160

160:                                              ; preds = %158, %154
  br label %161

161:                                              ; preds = %160, %152
  br label %162

162:                                              ; preds = %161, %146
  br label %163

163:                                              ; preds = %162, %140
  store i32 0, ptr %11, align 4
  br label %164

164:                                              ; preds = %163, %131
  call void @llvm.lifetime.end.p0(i64 4096, ptr %16) #9
  %165 = load i32, ptr %11, align 4
  switch i32 %165, label %489 [
    i32 0, label %166
  ]

166:                                              ; preds = %164
  br label %487

167:                                              ; preds = %121
  %168 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %169 = call i32 @strcmp(ptr noundef %168, ptr noundef @.str.25) #10
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %179

171:                                              ; preds = %167
  %172 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %173 = call i32 @strcmp(ptr noundef %172, ptr noundef @.str.26) #10
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %179

175:                                              ; preds = %171
  %176 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %177 = call i32 @strcmp(ptr noundef %176, ptr noundef @.str.27) #10
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %254, label %179

179:                                              ; preds = %175, %171, %167
  call void @llvm.lifetime.start.p0(i64 4096, ptr %17) #9
  %180 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %181 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %182 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0
  %183 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %180, ptr noundef @.str.19, ptr noundef %181, ptr noundef %182) #9
  %184 = icmp ne i32 %183, 2
  br i1 %184, label %185, label %190

185:                                              ; preds = %179
  %186 = load ptr, ptr @stderr, align 8, !tbaa !5
  %187 = load i32, ptr %13, align 4, !tbaa !9
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef @.str.20, i32 noundef %187, ptr noundef %188) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %251

190:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %191 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0
  %192 = call noalias ptr @fopen(ptr noundef %191, ptr noundef @.str.15)
  store ptr %192, ptr %18, align 8, !tbaa !5
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = icmp ne ptr %193, null
  br i1 %194, label %199, label %195

195:                                              ; preds = %190
  %196 = load ptr, ptr @stderr, align 8, !tbaa !5
  %197 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.28, ptr noundef %197) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %250

199:                                              ; preds = %190
  %200 = getelementptr inbounds %class.RGBDConfiguration, ptr %60, i32 0, i32 6
  %201 = load ptr, ptr %200, align 8, !tbaa !14
  %202 = icmp ne ptr %201, null
  br i1 %202, label %203, label %224

203:                                              ; preds = %199
  %204 = getelementptr inbounds %class.RGBDConfiguration, ptr %60, i32 0, i32 6
  %205 = load ptr, ptr %204, align 8, !tbaa !14
  %206 = call i32 @strcmp(ptr noundef %205, ptr noundef @.str.29) #10
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %224, label %208

208:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %209 = load ptr, ptr %18, align 8, !tbaa !5
  %210 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %209, ptr noundef @.str.30, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29)
  %211 = icmp ne i32 %210, 11
  br i1 %211, label %212, label %215

212:                                              ; preds = %208
  %213 = load ptr, ptr @stderr, align 8, !tbaa !5
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.31) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %221

215:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 72, ptr %30) #9
  %216 = load double, ptr %21, align 8, !tbaa !23
  %217 = load double, ptr %23, align 8, !tbaa !23
  %218 = load double, ptr %22, align 8, !tbaa !23
  %219 = load double, ptr %24, align 8, !tbaa !23
  call void @_ZN8R3MatrixC1Eddddddddd(ptr noundef nonnull align 8 dereferenceable(72) %30, double noundef %216, double noundef 0.000000e+00, double noundef %217, double noundef 0.000000e+00, double noundef %218, double noundef %219, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  %220 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull align 8 dereferenceable(72) %30)
  call void @llvm.lifetime.end.p0(i64 72, ptr %30) #9
  store i32 0, ptr %11, align 4
  br label %221

221:                                              ; preds = %215, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  %222 = load i32, ptr %11, align 4
  switch i32 %222, label %250 [
    i32 0, label %223
  ]

223:                                              ; preds = %221
  br label %247

224:                                              ; preds = %203, %199
  call void @llvm.lifetime.start.p0(i64 72, ptr %31) #9
  %225 = load ptr, ptr %18, align 8, !tbaa !5
  %226 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 0
  %227 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 1
  %228 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 2
  %229 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 3
  %230 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 4
  %231 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 5
  %232 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 6
  %233 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 7
  %234 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 8
  %235 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %225, ptr noundef @.str.32, ptr noundef %226, ptr noundef %227, ptr noundef %228, ptr noundef %229, ptr noundef %230, ptr noundef %231, ptr noundef %232, ptr noundef %233, ptr noundef %234)
  %236 = icmp ne i32 %235, 9
  br i1 %236, label %237, label %241

237:                                              ; preds = %224
  %238 = load ptr, ptr @stderr, align 8, !tbaa !5
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.33, ptr noundef %239) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %244

241:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 72, ptr %32) #9
  %242 = getelementptr inbounds [9 x double], ptr %31, i64 0, i64 0
  call void @_ZN8R3MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(72) %32, ptr noundef %242)
  %243 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull align 8 dereferenceable(72) %32)
  call void @llvm.lifetime.end.p0(i64 72, ptr %32) #9
  store i32 0, ptr %11, align 4
  br label %244

244:                                              ; preds = %241, %237
  call void @llvm.lifetime.end.p0(i64 72, ptr %31) #9
  %245 = load i32, ptr %11, align 4
  switch i32 %245, label %250 [
    i32 0, label %246
  ]

246:                                              ; preds = %244
  br label %247

247:                                              ; preds = %246, %223
  %248 = load ptr, ptr %18, align 8, !tbaa !5
  %249 = call i32 @fclose(ptr noundef %248)
  store i32 0, ptr %11, align 4
  br label %250

250:                                              ; preds = %247, %244, %221, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %251

251:                                              ; preds = %250, %185
  call void @llvm.lifetime.end.p0(i64 4096, ptr %17) #9
  %252 = load i32, ptr %11, align 4
  switch i32 %252, label %489 [
    i32 0, label %253
  ]

253:                                              ; preds = %251
  br label %486

254:                                              ; preds = %175
  %255 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %256 = call i32 @strcmp(ptr noundef %255, ptr noundef @.str.34) #10
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %266

258:                                              ; preds = %254
  %259 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %260 = call i32 @strcmp(ptr noundef %259, ptr noundef @.str.35) #10
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %266

262:                                              ; preds = %258
  %263 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %264 = call i32 @strcmp(ptr noundef %263, ptr noundef @.str.36) #10
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %291, label %266

266:                                              ; preds = %262, %258, %254
  call void @llvm.lifetime.start.p0(i64 72, ptr %33) #9
  %267 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %268 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %269 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 0
  %270 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 1
  %271 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 2
  %272 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 3
  %273 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 4
  %274 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 5
  %275 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 6
  %276 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 7
  %277 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 8
  %278 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %267, ptr noundef @.str.37, ptr noundef %268, ptr noundef %269, ptr noundef %270, ptr noundef %271, ptr noundef %272, ptr noundef %273, ptr noundef %274, ptr noundef %275, ptr noundef %276, ptr noundef %277) #9
  %279 = icmp ne i32 %278, 10
  br i1 %279, label %280, label %285

280:                                              ; preds = %266
  %281 = load ptr, ptr @stderr, align 8, !tbaa !5
  %282 = load i32, ptr %13, align 4, !tbaa !9
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.20, i32 noundef %282, ptr noundef %283) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %288

285:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 72, ptr %34) #9
  %286 = getelementptr inbounds [9 x double], ptr %33, i64 0, i64 0
  call void @_ZN8R3MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(72) %34, ptr noundef %286)
  %287 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull align 8 dereferenceable(72) %34)
  call void @llvm.lifetime.end.p0(i64 72, ptr %34) #9
  store i32 0, ptr %11, align 4
  br label %288

288:                                              ; preds = %285, %280
  call void @llvm.lifetime.end.p0(i64 72, ptr %33) #9
  %289 = load i32, ptr %11, align 4
  switch i32 %289, label %489 [
    i32 0, label %290
  ]

290:                                              ; preds = %288
  br label %485

291:                                              ; preds = %262
  %292 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %293 = call i32 @strcmp(ptr noundef %292, ptr noundef @.str.38) #10
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %299

295:                                              ; preds = %291
  %296 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %297 = call i32 @strcmp(ptr noundef %296, ptr noundef @.str.1) #10
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %365, label %299

299:                                              ; preds = %295, %291
  %300 = load i32, ptr %7, align 4, !tbaa !9
  %301 = icmp sgt i32 %300, 1
  br i1 %301, label %302, label %309

302:                                              ; preds = %299
  %303 = load i32, ptr %8, align 4, !tbaa !9
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr %8, align 4, !tbaa !9
  %305 = load i32, ptr %7, align 4, !tbaa !9
  %306 = srem i32 %304, %305
  %307 = icmp ne i32 %306, 1
  br i1 %307, label %308, label %309

308:                                              ; preds = %302
  store i32 2, ptr %11, align 4
  br label %489, !llvm.loop !11

309:                                              ; preds = %302, %299
  %310 = call noundef i32 @_ZNK8R3Matrix10IsIdentityEv(ptr noundef nonnull align 8 dereferenceable(72) %9)
  %311 = icmp ne i32 %310, 0
  br i1 %311, label %312, label %316

312:                                              ; preds = %309
  %313 = load ptr, ptr @stderr, align 8, !tbaa !5
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.39, ptr noundef %314) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %489

316:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 128, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 4096, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 4096, ptr %37) #9
  %317 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %318 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %319 = getelementptr inbounds [4096 x i8], ptr %36, i64 0, i64 0
  %320 = getelementptr inbounds [4096 x i8], ptr %37, i64 0, i64 0
  %321 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 0
  %322 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 1
  %323 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 2
  %324 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 3
  %325 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 4
  %326 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 5
  %327 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 6
  %328 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 7
  %329 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 8
  %330 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 9
  %331 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 10
  %332 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 11
  %333 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 12
  %334 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 13
  %335 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 14
  %336 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 15
  %337 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %317, ptr noundef @.str.40, ptr noundef %318, ptr noundef %319, ptr noundef %320, ptr noundef %321, ptr noundef %322, ptr noundef %323, ptr noundef %324, ptr noundef %325, ptr noundef %326, ptr noundef %327, ptr noundef %328, ptr noundef %329, ptr noundef %330, ptr noundef %331, ptr noundef %332, ptr noundef %333, ptr noundef %334, ptr noundef %335, ptr noundef %336) #9
  %338 = icmp ne i32 %337, 19
  br i1 %338, label %339, label %344

339:                                              ; preds = %316
  %340 = load ptr, ptr @stderr, align 8, !tbaa !5
  %341 = load i32, ptr %13, align 4, !tbaa !9
  %342 = load ptr, ptr %6, align 8, !tbaa !5
  %343 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %340, ptr noundef @.str.20, i32 noundef %341, ptr noundef %342) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %355

344:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %345 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 488) #11
  store i1 true, ptr %42, align 1
  %346 = getelementptr inbounds [4096 x i8], ptr %37, i64 0, i64 0
  %347 = getelementptr inbounds [4096 x i8], ptr %36, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 128, ptr %39) #9
  %348 = getelementptr inbounds [16 x double], ptr %35, i64 0, i64 0
  invoke void @_ZN8R4MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(128) %39, ptr noundef %348)
          to label %349 unwind label %358

349:                                              ; preds = %344
  invoke void @_ZN9RGBDImageC1EPKcS1_RK8R3MatrixRK8R4Matrixii(ptr noundef nonnull align 8 dereferenceable(488) %345, ptr noundef %346, ptr noundef %347, ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull align 8 dereferenceable(128) %39, i32 noundef 0, i32 noundef 0)
          to label %350 unwind label %358

350:                                              ; preds = %349
  store i1 false, ptr %42, align 1
  call void @llvm.lifetime.end.p0(i64 128, ptr %39) #9
  store ptr %345, ptr %38, align 8, !tbaa !5
  %351 = load ptr, ptr %38, align 8, !tbaa !5
  %352 = load ptr, ptr %60, align 8, !tbaa !25
  %353 = getelementptr inbounds ptr, ptr %352, i64 2
  %354 = load ptr, ptr %353, align 8
  call void %354(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %351)
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  store i32 0, ptr %11, align 4
  br label %355

355:                                              ; preds = %350, %339
  call void @llvm.lifetime.end.p0(i64 4096, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 128, ptr %35) #9
  %356 = load i32, ptr %11, align 4
  switch i32 %356, label %489 [
    i32 0, label %357
  ]

357:                                              ; preds = %355
  br label %484

358:                                              ; preds = %349, %344
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %40, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %41, align 4
  call void @llvm.lifetime.end.p0(i64 128, ptr %39) #9
  %362 = load i1, ptr %42, align 1
  br i1 %362, label %363, label %364

363:                                              ; preds = %358
  call void @_ZdlPvm(ptr noundef %345, i64 noundef 488) #12
  br label %364

364:                                              ; preds = %363, %358
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 128, ptr %35) #9
  br label %492

365:                                              ; preds = %295
  %366 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %367 = call i32 @strcmp(ptr noundef %366, ptr noundef @.str.41) #10
  %368 = icmp ne i32 %367, 0
  br i1 %368, label %422, label %369

369:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 4096, ptr %43) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #9
  %370 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %371 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %372 = getelementptr inbounds [4096 x i8], ptr %43, i64 0, i64 0
  %373 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 0
  %374 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 1
  %375 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 2
  %376 = getelementptr inbounds [3 x double], ptr %46, i64 0, i64 0
  %377 = getelementptr inbounds [3 x double], ptr %46, i64 0, i64 1
  %378 = getelementptr inbounds [3 x double], ptr %46, i64 0, i64 2
  %379 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 0
  %380 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 1
  %381 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 2
  %382 = getelementptr inbounds [2 x double], ptr %48, i64 0, i64 0
  %383 = getelementptr inbounds [2 x double], ptr %48, i64 0, i64 1
  %384 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %370, ptr noundef @.str.42, ptr noundef %371, ptr noundef %372, ptr noundef %44, ptr noundef %373, ptr noundef %374, ptr noundef %375, ptr noundef %376, ptr noundef %377, ptr noundef %378, ptr noundef %379, ptr noundef %380, ptr noundef %381, ptr noundef %382, ptr noundef %383) #9
  %385 = icmp ne i32 %384, 14
  br i1 %385, label %386, label %391

386:                                              ; preds = %369
  %387 = load ptr, ptr @stderr, align 8, !tbaa !5
  %388 = load i32, ptr %13, align 4, !tbaa !9
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %387, ptr noundef @.str.20, i32 noundef %388, ptr noundef %389) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %410

391:                                              ; preds = %369
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #9
  %392 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 0
  call void @_ZN7R3PointC1EPKd(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef %392)
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #9
  %393 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 0
  call void @_ZN8R3VectorC1EPKd(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef %393)
  call void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50)
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #9
  %394 = getelementptr inbounds [3 x double], ptr %46, i64 0, i64 0
  call void @_ZN8R3VectorC1EPKd(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef %394)
  call void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51)
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #9
  call void @_ZrmRK8R3VectorS1_(ptr dead_on_unwind writable sret(%class.R3Vector) align 8 %52, ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 8 dereferenceable(24) %51)
  call void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #9
  %395 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 120) #11
  %396 = getelementptr inbounds [2 x double], ptr %48, i64 0, i64 0
  %397 = load double, ptr %396, align 16, !tbaa !23
  %398 = getelementptr inbounds [2 x double], ptr %48, i64 0, i64 1
  %399 = load double, ptr %398, align 8, !tbaa !23
  invoke void @_ZN11R3RectangleC1ERK7R3PointRK8R3VectorS5_dd(ptr noundef nonnull align 8 dereferenceable(120) %395, ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 8 dereferenceable(24) %50, double noundef %397, double noundef %399)
          to label %400 unwind label %413

400:                                              ; preds = %391
  store ptr %395, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #9
  %401 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 144) #11
  %402 = getelementptr inbounds [4096 x i8], ptr %43, i64 0, i64 0
  %403 = load ptr, ptr %53, align 8, !tbaa !5
  %404 = load double, ptr %44, align 8, !tbaa !23
  invoke void @_ZN11RGBDSurfaceC1EPKcP11R3Rectangled(ptr noundef nonnull align 8 dereferenceable(144) %401, ptr noundef %402, ptr noundef %403, double noundef %404)
          to label %405 unwind label %417

405:                                              ; preds = %400
  store ptr %401, ptr %54, align 8, !tbaa !5
  %406 = load ptr, ptr %54, align 8, !tbaa !5
  %407 = load ptr, ptr %60, align 8, !tbaa !25
  %408 = getelementptr inbounds ptr, ptr %407, i64 4
  %409 = load ptr, ptr %408, align 8
  call void %409(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %406)
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #9
  store i32 0, ptr %11, align 4
  br label %410

410:                                              ; preds = %405, %386
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %43) #9
  %411 = load i32, ptr %11, align 4
  switch i32 %411, label %489 [
    i32 0, label %412
  ]

412:                                              ; preds = %410
  br label %483

413:                                              ; preds = %391
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %40, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %41, align 4
  call void @_ZdlPvm(ptr noundef %395, i64 noundef 120) #12
  br label %421

417:                                              ; preds = %400
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %40, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %41, align 4
  call void @_ZdlPvm(ptr noundef %401, i64 noundef 144) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #9
  br label %421

421:                                              ; preds = %417, %413
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %43) #9
  br label %492

422:                                              ; preds = %365
  %423 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %424 = call i32 @strcmp(ptr noundef %423, ptr noundef @.str.43) #10
  %425 = icmp ne i32 %424, 0
  br i1 %425, label %482, label %426

426:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 4096, ptr %55) #9
  call void @llvm.lifetime.start.p0(i64 4096, ptr %56) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #9
  %427 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
  %428 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %429 = getelementptr inbounds [4096 x i8], ptr %55, i64 0, i64 0
  %430 = getelementptr inbounds [4096 x i8], ptr %56, i64 0, i64 0
  %431 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %427, ptr noundef @.str.44, ptr noundef %428, ptr noundef %429, ptr noundef %430, ptr noundef %57) #9
  %432 = icmp ne i32 %431, 4
  br i1 %432, label %433, label %438

433:                                              ; preds = %426
  %434 = load ptr, ptr @stderr, align 8, !tbaa !5
  %435 = load i32, ptr %13, align 4, !tbaa !9
  %436 = load ptr, ptr %6, align 8, !tbaa !5
  %437 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %434, ptr noundef @.str.20, i32 noundef %435, ptr noundef %436) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %474

438:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  %439 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 272) #11
  invoke void @_ZN6R3MeshC1Ev(ptr noundef nonnull align 8 dereferenceable(272) %439)
          to label %440 unwind label %454

440:                                              ; preds = %438
  store ptr %439, ptr %58, align 8, !tbaa !5
  %441 = load ptr, ptr %58, align 8, !tbaa !5
  %442 = getelementptr inbounds [4096 x i8], ptr %56, i64 0, i64 0
  %443 = load ptr, ptr %441, align 8, !tbaa !25
  %444 = getelementptr inbounds ptr, ptr %443, i64 48
  %445 = load ptr, ptr %444, align 8
  %446 = call noundef i32 %445(ptr noundef nonnull align 8 dereferenceable(272) %441, ptr noundef %442)
  %447 = icmp ne i32 %446, 0
  br i1 %447, label %458, label %448

448:                                              ; preds = %440
  %449 = load ptr, ptr @stderr, align 8, !tbaa !5
  %450 = getelementptr inbounds [4096 x i8], ptr %56, i64 0, i64 0
  %451 = load i32, ptr %13, align 4, !tbaa !9
  %452 = load ptr, ptr %6, align 8, !tbaa !5
  %453 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %449, ptr noundef @.str.45, ptr noundef %450, i32 noundef %451, ptr noundef %452) #9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %473

454:                                              ; preds = %438
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %40, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %41, align 4
  call void @_ZdlPvm(ptr noundef %439, i64 noundef 272) #12
  br label %481

458:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  %459 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 144) #11
  %460 = getelementptr inbounds [4096 x i8], ptr %55, i64 0, i64 0
  %461 = load ptr, ptr %58, align 8, !tbaa !5
  %462 = load double, ptr %57, align 8, !tbaa !23
  invoke void @_ZN11RGBDSurfaceC1EPKcP6R3Meshd(ptr noundef nonnull align 8 dereferenceable(144) %459, ptr noundef %460, ptr noundef %461, double noundef %462)
          to label %463 unwind label %477

463:                                              ; preds = %458
  store ptr %459, ptr %59, align 8, !tbaa !5
  %464 = load ptr, ptr %59, align 8, !tbaa !5
  %465 = getelementptr inbounds [4096 x i8], ptr %56, i64 0, i64 0
  %466 = load ptr, ptr %464, align 8, !tbaa !25
  %467 = getelementptr inbounds ptr, ptr %466, i64 24
  %468 = load ptr, ptr %467, align 8
  call void %468(ptr noundef nonnull align 8 dereferenceable(144) %464, ptr noundef %465)
  %469 = load ptr, ptr %59, align 8, !tbaa !5
  %470 = load ptr, ptr %60, align 8, !tbaa !25
  %471 = getelementptr inbounds ptr, ptr %470, i64 4
  %472 = load ptr, ptr %471, align 8
  call void %472(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef %469)
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  store i32 0, ptr %11, align 4
  br label %473

473:                                              ; preds = %463, %448
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  br label %474

474:                                              ; preds = %473, %433
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %55) #9
  %475 = load i32, ptr %11, align 4
  switch i32 %475, label %489 [
    i32 0, label %476
  ]

476:                                              ; preds = %474
  br label %482

477:                                              ; preds = %458
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %40, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %41, align 4
  call void @_ZdlPvm(ptr noundef %459, i64 noundef 144) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  br label %481

481:                                              ; preds = %477, %454
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %55) #9
  br label %492

482:                                              ; preds = %476, %422
  br label %483

483:                                              ; preds = %482, %412
  br label %484

484:                                              ; preds = %483, %357
  br label %485

485:                                              ; preds = %484, %290
  br label %486

486:                                              ; preds = %485, %253
  br label %487

487:                                              ; preds = %486, %166
  br label %488

488:                                              ; preds = %487, %108
  store i32 0, ptr %11, align 4
  br label %489

489:                                              ; preds = %488, %474, %410, %355, %312, %308, %288, %251, %164, %106, %88, %82
  call void @llvm.lifetime.end.p0(i64 4096, ptr %14) #9
  %490 = load i32, ptr %11, align 4
  switch i32 %490, label %500 [
    i32 0, label %491
    i32 2, label %70
  ]

491:                                              ; preds = %489
  br label %70, !llvm.loop !11

492:                                              ; preds = %481, %421, %364
  call void @llvm.lifetime.end.p0(i64 4096, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %503

493:                                              ; preds = %70
  %494 = load ptr, ptr %10, align 8, !tbaa !5
  %495 = icmp ne ptr %494, null
  br i1 %495, label %496, label %499

496:                                              ; preds = %493
  %497 = load ptr, ptr %10, align 8, !tbaa !5
  %498 = call i32 @fclose(ptr noundef %497)
  br label %499

499:                                              ; preds = %496, %493
  store i32 1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %500

500:                                              ; preds = %499, %489
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr %12) #9
  br label %501

501:                                              ; preds = %500, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  %502 = load i32, ptr %4, align 4
  ret i32 %502

503:                                              ; preds = %492
  %504 = load ptr, ptr %40, align 8
  %505 = load i32, ptr %41, align 4
  %506 = insertvalue { ptr, i32 } poison, ptr %504, 0
  %507 = insertvalue { ptr, i32 } %506, i32 %505, 1
  resume { ptr, i32 } %507
}

declare void @_ZN8R3MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #5

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

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

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #6

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

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

declare void @_ZN8R3MatrixC1Eddddddddd(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) #5

declare void @_ZN8R3MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #5

declare i32 @fclose(ptr noundef) #5

declare noundef i32 @_ZNK8R3Matrix10IsIdentityEv(ptr noundef nonnull align 8 dereferenceable(72)) #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #8

declare void @_ZN8R4MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) unnamed_addr #5

declare void @_ZN9RGBDImageC1EPKcS1_RK8R3MatrixRK8R4Matrixii(ptr noundef nonnull align 8 dereferenceable(488), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, i32 noundef) unnamed_addr #5

declare void @_ZN7R3PointC1EPKd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #5

declare void @_ZN8R3VectorC1EPKd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #5

declare void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5

declare void @_ZrmRK8R3VectorS1_(ptr dead_on_unwind writable sret(%class.R3Vector) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5

declare void @_ZN11R3RectangleC1ERK7R3PointRK8R3VectorS5_dd(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef) unnamed_addr #5

declare void @_ZN11RGBDSurfaceC1EPKcP11R3Rectangled(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef, ptr noundef, double noundef) unnamed_addr #5

declare void @_ZN6R3MeshC1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #5

declare void @_ZN11RGBDSurfaceC1EPKcP6R3Meshd(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef, ptr noundef, double noundef) unnamed_addr #5

attributes #0 = { nobuiltin 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #4 = { 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 #5 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nobuiltin allocsize(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 #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !6, i64 64}
!15 = !{!"_ZTS17RGBDConfiguration", !16, i64 8, !18, i64 24, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !19, i64 72}
!16 = !{!"_ZTS7RNArrayIP9RGBDImageE", !17, i64 0}
!17 = !{!"_ZTS8RNVArray", !6, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!"_ZTS7RNArrayIP11RGBDSurfaceE", !17, i64 0}
!19 = !{!"_ZTS5R3Box", !20, i64 0, !22, i64 8, !22, i64 32}
!20 = !{!"_ZTS7R3Solid", !21, i64 0}
!21 = !{!"_ZTS7R3Shape"}
!22 = !{!"_ZTS7R3Point", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"vtable pointer", !8, i64 0}


; 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.R3Matrix = type { [3 x [3 x double]] }
%class.R4Matrix = type { [4 x [4 x double]] }
%class.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }

@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@R3identity_matrix = external global %class.R3Matrix, align 8
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [46 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration17SetColorDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration17SetDepthDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration19SetTextureDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17RGBDConfiguration16SetDatasetFormatEPKc(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN17RGBDConfiguration8ReadFileEPKci(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, i32 noundef %2) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.R3Matrix, align 8
  %5 = alloca [4096 x i8], align 16
  %6 = alloca [4096 x i8], align 16
  %7 = alloca [1024 x i8], align 16
  %8 = alloca [4096 x i8], align 16
  %9 = alloca [4096 x i8], align 16
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %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 %class.R3Matrix, align 8
  %22 = alloca [9 x double], align 16
  %23 = alloca %class.R3Matrix, align 8
  %24 = alloca [9 x double], align 16
  %25 = alloca %class.R3Matrix, align 8
  %26 = alloca [16 x double], align 16
  %27 = alloca [4096 x i8], align 16
  %28 = alloca [4096 x i8], align 16
  %29 = alloca %class.R4Matrix, align 8
  %30 = alloca [4096 x i8], align 16
  %31 = alloca double, align 8
  %32 = alloca [3 x double], align 16
  %33 = alloca [3 x double], align 16
  %34 = alloca [3 x double], align 16
  %35 = alloca [2 x double], align 16
  %36 = alloca %class.R3Point, align 8
  %37 = alloca %class.R3Vector, align 8
  %38 = alloca %class.R3Vector, align 8
  %39 = alloca %class.R3Vector, align 8
  %40 = alloca [4096 x i8], align 16
  %41 = alloca [4096 x i8], align 16
  %42 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #9
  call void @_ZN8R3MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(72) @R3identity_matrix)
  %43 = call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.15)
  %.not = icmp eq ptr %43, null
  br i1 %.not, label %44, label %47

44:                                               ; preds = %3
  %45 = load ptr, ptr @stderr, align 8, !tbaa !5
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.16, ptr noundef %1) #10
  br label %261

47:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %5) #9
  %48 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 4096, ptr noundef nonnull %43)
  %.not88171 = icmp eq ptr %48, null
  br i1 %.not88171, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %47
  %49 = getelementptr inbounds i8, ptr %32, i64 8
  %50 = getelementptr inbounds i8, ptr %32, i64 16
  %51 = getelementptr inbounds i8, ptr %33, i64 8
  %52 = getelementptr inbounds i8, ptr %33, i64 16
  %53 = getelementptr inbounds i8, ptr %34, i64 8
  %54 = getelementptr inbounds i8, ptr %34, i64 16
  %55 = getelementptr inbounds i8, ptr %35, i64 8
  %56 = icmp sgt i32 %2, 1
  %57 = getelementptr inbounds i8, ptr %26, i64 8
  %58 = getelementptr inbounds i8, ptr %26, i64 16
  %59 = getelementptr inbounds i8, ptr %26, i64 24
  %60 = getelementptr inbounds i8, ptr %26, i64 32
  %61 = getelementptr inbounds i8, ptr %26, i64 40
  %62 = getelementptr inbounds i8, ptr %26, i64 48
  %63 = getelementptr inbounds i8, ptr %26, i64 56
  %64 = getelementptr inbounds i8, ptr %26, i64 64
  %65 = getelementptr inbounds i8, ptr %26, i64 72
  %66 = getelementptr inbounds i8, ptr %26, i64 80
  %67 = getelementptr inbounds i8, ptr %26, i64 88
  %68 = getelementptr inbounds i8, ptr %26, i64 96
  %69 = getelementptr inbounds i8, ptr %26, i64 104
  %70 = getelementptr inbounds i8, ptr %26, i64 112
  %71 = getelementptr inbounds i8, ptr %26, i64 120
  %72 = getelementptr inbounds i8, ptr %24, i64 8
  %73 = getelementptr inbounds i8, ptr %24, i64 16
  %74 = getelementptr inbounds i8, ptr %24, i64 24
  %75 = getelementptr inbounds i8, ptr %24, i64 32
  %76 = getelementptr inbounds i8, ptr %24, i64 40
  %77 = getelementptr inbounds i8, ptr %24, i64 48
  %78 = getelementptr inbounds i8, ptr %24, i64 56
  %79 = getelementptr inbounds i8, ptr %24, i64 64
  %80 = getelementptr inbounds i8, ptr %0, i64 64
  %81 = getelementptr inbounds i8, ptr %22, i64 8
  %82 = getelementptr inbounds i8, ptr %22, i64 16
  %83 = getelementptr inbounds i8, ptr %22, i64 24
  %84 = getelementptr inbounds i8, ptr %22, i64 32
  %85 = getelementptr inbounds i8, ptr %22, i64 40
  %86 = getelementptr inbounds i8, ptr %22, i64 48
  %87 = getelementptr inbounds i8, ptr %22, i64 56
  %88 = getelementptr inbounds i8, ptr %22, i64 64
  br label %89

89:                                               ; preds = %.lr.ph, %256
  %.061173 = phi i32 [ 0, %.lr.ph ], [ %.364, %256 ]
  %.077172 = phi i32 [ 0, %.lr.ph ], [ %90, %256 ]
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %6) #9
  %90 = add nuw nsw i32 %.077172, 1
  %91 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.17, ptr noundef nonnull %6) #9
  %.not89 = icmp ne i32 %91, 1
  %92 = load i8, ptr %6, align 16
  %93 = icmp eq i8 %92, 35
  %or.cond = select i1 %.not89, i1 true, i1 %93
  br i1 %or.cond, label %256, label %94, !llvm.loop !9

94:                                               ; preds = %89
  %95 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.18) #11
  %.not90 = icmp eq i32 %95, 0
  br i1 %.not90, label %96, label %101

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %7) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %7, i8 0, i64 1024, i1 false)
  %97 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.19, ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  %.not91 = icmp eq i32 %97, 2
  br i1 %.not91, label %.thread, label %98

.thread:                                          ; preds = %96
  call void @_ZN17RGBDConfiguration16SetDatasetFormatEPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %7)
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %7) #9
  br label %256

98:                                               ; preds = %96
  %99 = load ptr, ptr @stderr, align 8, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %7) #9
  br label %.thread144

101:                                              ; preds = %94
  %102 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.21) #11
  %.not92 = icmp eq i32 %102, 0
  br i1 %.not92, label %109, label %103

103:                                              ; preds = %101
  %104 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.22) #11
  %.not93 = icmp eq i32 %104, 0
  br i1 %.not93, label %109, label %105

105:                                              ; preds = %103
  %106 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.23) #11
  %.not94 = icmp eq i32 %106, 0
  br i1 %.not94, label %109, label %107

107:                                              ; preds = %105
  %108 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.24) #11
  %.not95 = icmp eq i32 %108, 0
  br i1 %.not95, label %109, label %126

109:                                              ; preds = %107, %105, %103, %101
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %8) #9
  %110 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.19, ptr noundef nonnull %6, ptr noundef nonnull %8) #9
  %.not96 = icmp eq i32 %110, 2
  br i1 %.not96, label %111, label %123

111:                                              ; preds = %109
  %112 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.21) #11
  %.not97 = icmp eq i32 %112, 0
  br i1 %.not97, label %113, label %114

113:                                              ; preds = %111
  call void @_ZN17RGBDConfiguration17SetDepthDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %8)
  br label %.thread129

114:                                              ; preds = %111
  %115 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.22) #11
  %.not98 = icmp eq i32 %115, 0
  br i1 %.not98, label %116, label %117

116:                                              ; preds = %114
  call void @_ZN17RGBDConfiguration17SetColorDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %8)
  br label %.thread129

117:                                              ; preds = %114
  %118 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.24) #11
  %.not99 = icmp eq i32 %118, 0
  br i1 %.not99, label %119, label %120

119:                                              ; preds = %117
  call void @_ZN17RGBDConfiguration17SetColorDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %8)
  br label %.thread129

120:                                              ; preds = %117
  %121 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.23) #11
  %.not100 = icmp eq i32 %121, 0
  br i1 %.not100, label %122, label %.thread129

122:                                              ; preds = %120
  call void @_ZN17RGBDConfiguration19SetTextureDirectoryEPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %8)
  br label %.thread129

.thread129:                                       ; preds = %113, %119, %122, %120, %116
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %8) #9
  br label %256

123:                                              ; preds = %109
  %124 = load ptr, ptr @stderr, align 8, !tbaa !5
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %8) #9
  br label %.thread144

126:                                              ; preds = %107
  %127 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.25) #11
  %.not101 = icmp eq i32 %127, 0
  br i1 %.not101, label %132, label %128

128:                                              ; preds = %126
  %129 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.26) #11
  %.not102 = icmp eq i32 %129, 0
  br i1 %.not102, label %132, label %130

130:                                              ; preds = %128
  %131 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.27) #11
  %.not103 = icmp eq i32 %131, 0
  br i1 %.not103, label %132, label %164

132:                                              ; preds = %130, %128, %126
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %9) #9
  %133 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.19, ptr noundef nonnull %6, ptr noundef nonnull %9) #9
  %.not104 = icmp eq i32 %133, 2
  br i1 %.not104, label %137, label %134

134:                                              ; preds = %132
  %135 = load ptr, ptr @stderr, align 8, !tbaa !5
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  br label %.thread133

137:                                              ; preds = %132
  %138 = call noalias ptr @fopen(ptr noundef nonnull %9, ptr noundef nonnull @.str.15)
  %.not105 = icmp eq ptr %138, null
  br i1 %.not105, label %139, label %142

139:                                              ; preds = %137
  %140 = load ptr, ptr @stderr, align 8, !tbaa !5
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef nonnull @.str.28, ptr noundef nonnull %9) #10
  br label %.thread133

142:                                              ; preds = %137
  %143 = load ptr, ptr %80, align 8, !tbaa !11
  %.not106 = icmp eq ptr %143, null
  br i1 %.not106, label %156, label %144

144:                                              ; preds = %142
  %145 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %143, ptr noundef nonnull dereferenceable(1) @.str.29) #11
  %.not107 = icmp eq i32 %145, 0
  br i1 %.not107, label %146, label %156

146:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %147 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %138, ptr noundef nonnull @.str.30, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20)
  %.not108 = icmp eq i32 %147, 11
  br i1 %.not108, label %.thread130, label %153

.thread130:                                       ; preds = %146
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %21) #9
  %148 = load double, ptr %12, align 8, !tbaa !21
  %149 = load double, ptr %14, align 8, !tbaa !21
  %150 = load double, ptr %13, align 8, !tbaa !21
  %151 = load double, ptr %15, align 8, !tbaa !21
  call void @_ZN8R3MatrixC1Eddddddddd(ptr noundef nonnull align 8 dereferenceable(72) %21, double noundef %148, double noundef 0.000000e+00, double noundef %149, double noundef 0.000000e+00, double noundef %150, double noundef %151, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  %152 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(72) %21)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %162

153:                                              ; preds = %146
  %154 = load ptr, ptr @stderr, align 8, !tbaa !5
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef nonnull @.str.31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %.thread133

156:                                              ; preds = %144, %142
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %22) #9
  %157 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %138, ptr noundef nonnull @.str.32, ptr noundef nonnull %22, ptr noundef nonnull %81, ptr noundef nonnull %82, ptr noundef nonnull %83, ptr noundef nonnull %84, ptr noundef nonnull %85, ptr noundef nonnull %86, ptr noundef nonnull %87, ptr noundef nonnull %88)
  %.not109 = icmp eq i32 %157, 9
  br i1 %.not109, label %.thread131, label %159

.thread131:                                       ; preds = %156
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %23) #9
  call void @_ZN8R3MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(72) %23, ptr noundef nonnull %22)
  %158 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(72) %23)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %22) #9
  br label %162

159:                                              ; preds = %156
  %160 = load ptr, ptr @stderr, align 8, !tbaa !5
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %160, ptr noundef nonnull @.str.33, ptr noundef %1) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %22) #9
  br label %.thread133

.thread133:                                       ; preds = %134, %159, %153, %139
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %9) #9
  br label %.thread144

162:                                              ; preds = %.thread130, %.thread131
  %163 = call i32 @fclose(ptr noundef nonnull %138)
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %9) #9
  br label %256

164:                                              ; preds = %130
  %165 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.34) #11
  %.not110 = icmp eq i32 %165, 0
  br i1 %.not110, label %170, label %166

166:                                              ; preds = %164
  %167 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.35) #11
  %.not111 = icmp eq i32 %167, 0
  br i1 %.not111, label %170, label %168

168:                                              ; preds = %166
  %169 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.36) #11
  %.not112 = icmp eq i32 %169, 0
  br i1 %.not112, label %170, label %176

170:                                              ; preds = %168, %166, %164
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %24) #9
  %171 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.37, ptr noundef nonnull %6, ptr noundef nonnull %24, ptr noundef nonnull %72, ptr noundef nonnull %73, ptr noundef nonnull %74, ptr noundef nonnull %75, ptr noundef nonnull %76, ptr noundef nonnull %77, ptr noundef nonnull %78, ptr noundef nonnull %79) #9
  %.not113 = icmp eq i32 %171, 10
  br i1 %.not113, label %.thread136, label %173

.thread136:                                       ; preds = %170
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %25) #9
  call void @_ZN8R3MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(72) %25, ptr noundef nonnull %24)
  %172 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(72) %25)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %24) #9
  br label %256

173:                                              ; preds = %170
  %174 = load ptr, ptr @stderr, align 8, !tbaa !5
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %24) #9
  br label %.thread144

176:                                              ; preds = %168
  %177 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.38) #11
  %.not114 = icmp eq i32 %177, 0
  br i1 %.not114, label %180, label %178

178:                                              ; preds = %176
  %179 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.1) #11
  %.not115 = icmp eq i32 %179, 0
  br i1 %.not115, label %180, label %202

180:                                              ; preds = %178, %176
  br i1 %56, label %181, label %184

181:                                              ; preds = %180
  %182 = add nsw i32 %.061173, 1
  %183 = srem i32 %182, %2
  %.not116 = icmp eq i32 %183, 1
  br i1 %.not116, label %184, label %256, !llvm.loop !9

184:                                              ; preds = %181, %180
  %.162 = phi i32 [ %182, %181 ], [ %.061173, %180 ]
  %185 = call noundef i32 @_ZNK8R3Matrix10IsIdentityEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
  %.not117 = icmp eq i32 %185, 0
  br i1 %.not117, label %189, label %186

186:                                              ; preds = %184
  %187 = load ptr, ptr @stderr, align 8, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef nonnull @.str.39, ptr noundef %1) #10
  br label %.thread144

189:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %28) #9
  %190 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.40, ptr noundef nonnull %6, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef nonnull %26, ptr noundef nonnull %57, ptr noundef nonnull %58, ptr noundef nonnull %59, ptr noundef nonnull %60, ptr noundef nonnull %61, ptr noundef nonnull %62, ptr noundef nonnull %63, ptr noundef nonnull %64, ptr noundef nonnull %65, ptr noundef nonnull %66, ptr noundef nonnull %67, ptr noundef nonnull %68, ptr noundef nonnull %69, ptr noundef nonnull %70, ptr noundef nonnull %71) #9
  %.not118 = icmp eq i32 %190, 19
  br i1 %.not118, label %191, label %197

191:                                              ; preds = %189
  %192 = call noalias noundef nonnull dereferenceable(488) ptr @_Znwm(i64 noundef 488) #12
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %29) #9
  invoke void @_ZN8R4MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(128) %29, ptr noundef nonnull %26)
          to label %193 unwind label %200

193:                                              ; preds = %191
  invoke void @_ZN9RGBDImageC1EPKcS1_RK8R3MatrixRK8R4Matrixii(ptr noundef nonnull align 8 dereferenceable(488) %192, ptr noundef nonnull %28, ptr noundef nonnull %27, ptr noundef nonnull align 8 dereferenceable(72) %4, ptr noundef nonnull align 8 dereferenceable(128) %29, i32 noundef 0, i32 noundef 0)
          to label %.thread137 unwind label %200

.thread137:                                       ; preds = %193
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %29) #9
  %194 = load ptr, ptr %0, align 8, !tbaa !23
  %195 = getelementptr inbounds i8, ptr %194, i64 16
  %196 = load ptr, ptr %195, align 8
  call void %196(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %192)
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %26) #9
  br label %256

197:                                              ; preds = %189
  %198 = load ptr, ptr @stderr, align 8, !tbaa !5
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %198, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %26) #9
  br label %.thread144

200:                                              ; preds = %193, %191
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %29) #9
  call void @_ZdlPvm(ptr noundef nonnull %192, i64 noundef 488) #13
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %26) #9
  br label %258

202:                                              ; preds = %178
  %203 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.41) #11
  %.not119 = icmp eq i32 %203, 0
  br i1 %.not119, label %204, label %224

204:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #9
  %205 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.42, ptr noundef nonnull %6, ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef nonnull %49, ptr noundef nonnull %50, ptr noundef nonnull %33, ptr noundef nonnull %51, ptr noundef nonnull %52, ptr noundef nonnull %34, ptr noundef nonnull %53, ptr noundef nonnull %54, ptr noundef nonnull %35, ptr noundef nonnull %55) #9
  %.not120 = icmp eq i32 %205, 14
  br i1 %.not120, label %206, label %216

206:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #9
  call void @_ZN7R3PointC1EPKd(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull %32)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #9
  call void @_ZN8R3VectorC1EPKd(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull %34)
  call void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #9
  call void @_ZN8R3VectorC1EPKd(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull %33)
  call void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #9
  call void @_ZrmRK8R3VectorS1_(ptr dead_on_unwind nonnull writable sret(%class.R3Vector) align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %38)
  call void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39)
  %207 = call noalias noundef nonnull dereferenceable(120) ptr @_Znwm(i64 noundef 120) #12
  %208 = load double, ptr %35, align 16, !tbaa !21
  %209 = load double, ptr %55, align 8, !tbaa !21
  invoke void @_ZN11R3RectangleC1ERK7R3PointRK8R3VectorS5_dd(ptr noundef nonnull align 8 dereferenceable(120) %207, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %37, double noundef %208, double noundef %209)
          to label %210 unwind label %219

210:                                              ; preds = %206
  %211 = call noalias noundef nonnull dereferenceable(144) ptr @_Znwm(i64 noundef 144) #12
  %212 = load double, ptr %31, align 8, !tbaa !21
  invoke void @_ZN11RGBDSurfaceC1EPKcP11R3Rectangled(ptr noundef nonnull align 8 dereferenceable(144) %211, ptr noundef nonnull %30, ptr noundef nonnull %207, double noundef %212)
          to label %.thread138 unwind label %221

.thread138:                                       ; preds = %210
  %213 = load ptr, ptr %0, align 8, !tbaa !23
  %214 = getelementptr inbounds i8, ptr %213, i64 32
  %215 = load ptr, ptr %214, align 8
  call void %215(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %211)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %30) #9
  br label %256

216:                                              ; preds = %204
  %217 = load ptr, ptr @stderr, align 8, !tbaa !5
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %217, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %30) #9
  br label %.thread144

219:                                              ; preds = %206
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %207, i64 noundef 120) #13
  br label %223

221:                                              ; preds = %210
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %211, i64 noundef 144) #13
  br label %223

223:                                              ; preds = %221, %219
  %.pn = phi { ptr, i32 } [ %222, %221 ], [ %220, %219 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %30) #9
  br label %258

224:                                              ; preds = %202
  %225 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.43) #11
  %.not122 = icmp eq i32 %225, 0
  br i1 %.not122, label %226, label %256

226:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %40) #9
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %41) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #9
  %227 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %5, ptr noundef nonnull @.str.44, ptr noundef nonnull %6, ptr noundef nonnull %40, ptr noundef nonnull %41, ptr noundef nonnull %42) #9
  %.not123 = icmp eq i32 %227, 4
  br i1 %.not123, label %231, label %228

228:                                              ; preds = %226
  %229 = load ptr, ptr @stderr, align 8, !tbaa !5
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef nonnull @.str.20, i32 noundef %90, ptr noundef %1) #10
  br label %.thread140

231:                                              ; preds = %226
  %232 = call noalias noundef nonnull dereferenceable(272) ptr @_Znwm(i64 noundef 272) #12
  invoke void @_ZN6R3MeshC1Ev(ptr noundef nonnull align 8 dereferenceable(272) %232)
          to label %233 unwind label %241

233:                                              ; preds = %231
  %234 = load ptr, ptr %232, align 8, !tbaa !23
  %235 = getelementptr inbounds i8, ptr %234, i64 384
  %236 = load ptr, ptr %235, align 8
  %237 = call noundef i32 %236(ptr noundef nonnull align 8 dereferenceable(272) %232, ptr noundef nonnull %41)
  %.not124 = icmp eq i32 %237, 0
  br i1 %.not124, label %238, label %243

238:                                              ; preds = %233
  %239 = load ptr, ptr @stderr, align 8, !tbaa !5
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef nonnull @.str.45, ptr noundef nonnull %41, i32 noundef %90, ptr noundef %1) #10
  br label %.thread140

241:                                              ; preds = %231
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %232, i64 noundef 272) #13
  br label %255

243:                                              ; preds = %233
  %244 = call noalias noundef nonnull dereferenceable(144) ptr @_Znwm(i64 noundef 144) #12
  %245 = load double, ptr %42, align 8, !tbaa !21
  invoke void @_ZN11RGBDSurfaceC1EPKcP6R3Meshd(ptr noundef nonnull align 8 dereferenceable(144) %244, ptr noundef nonnull %40, ptr noundef nonnull %232, double noundef %245)
          to label %246 unwind label %253

.thread140:                                       ; preds = %228, %238
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %40) #9
  br label %.thread144

246:                                              ; preds = %243
  %247 = load ptr, ptr %244, align 8, !tbaa !23
  %248 = getelementptr inbounds i8, ptr %247, i64 192
  %249 = load ptr, ptr %248, align 8
  call void %249(ptr noundef nonnull align 8 dereferenceable(144) %244, ptr noundef nonnull %41)
  %250 = load ptr, ptr %0, align 8, !tbaa !23
  %251 = getelementptr inbounds i8, ptr %250, i64 32
  %252 = load ptr, ptr %251, align 8
  call void %252(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %244)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %40) #9
  br label %256

253:                                              ; preds = %243
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %244, i64 noundef 144) #13
  br label %255

255:                                              ; preds = %253, %241
  %.pn125 = phi { ptr, i32 } [ %254, %253 ], [ %242, %241 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %40) #9
  br label %258

.thread144:                                       ; preds = %216, %186, %197, %173, %123, %98, %.thread133, %.thread140
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %6) #9
  br label %260

256:                                              ; preds = %224, %.thread, %.thread129, %162, %.thread136, %.thread137, %.thread138, %246, %181, %89
  %.364 = phi i32 [ %.061173, %89 ], [ %182, %181 ], [ %.061173, %224 ], [ %.061173, %246 ], [ %.061173, %162 ], [ %.061173, %.thread ], [ %.061173, %.thread129 ], [ %.061173, %.thread136 ], [ %.162, %.thread137 ], [ %.061173, %.thread138 ]
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %6) #9
  %257 = call ptr @fgets(ptr noundef nonnull %5, i32 noundef 4096, ptr noundef nonnull %43)
  %.not88 = icmp eq ptr %257, null
  br i1 %.not88, label %._crit_edge, label %89

258:                                              ; preds = %255, %223, %200
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %255 ], [ %.pn, %223 ], [ %201, %200 ]
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn125.pn

._crit_edge:                                      ; preds = %256, %47
  %259 = call i32 @fclose(ptr noundef nonnull %43)
  br label %260

260:                                              ; preds = %.thread144, %._crit_edge
  %.15 = phi i32 [ 1, %._crit_edge ], [ 0, %.thread144 ]
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %5) #9
  br label %261

261:                                              ; preds = %260, %44
  %.16 = phi i32 [ %.15, %260 ], [ 0, %44 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #9
  ret i32 %.16
}

declare void @_ZN8R3MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #5

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

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

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

declare void @_ZN8R3MatrixC1Eddddddddd(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(72) ptr @_ZN8R3MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5

declare void @_ZN8R3MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #5

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

declare noundef i32 @_ZNK8R3Matrix10IsIdentityEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #8

declare void @_ZN8R4MatrixC1EPKd(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) unnamed_addr #5

declare void @_ZN9RGBDImageC1EPKcS1_RK8R3MatrixRK8R4Matrixii(ptr noundef nonnull align 8 dereferenceable(488), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, i32 noundef) unnamed_addr #5

declare void @_ZN7R3PointC1EPKd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #5

declare void @_ZN8R3VectorC1EPKd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #5

declare void @_ZN8R3Vector9NormalizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

declare void @_ZrmRK8R3VectorS1_(ptr dead_on_unwind writable sret(%class.R3Vector) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

declare void @_ZN11R3RectangleC1ERK7R3PointRK8R3VectorS5_dd(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef) unnamed_addr #5

declare void @_ZN11RGBDSurfaceC1EPKcP11R3Rectangled(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef, ptr noundef, double noundef) unnamed_addr #5

declare void @_ZN6R3MeshC1Ev(ptr noundef nonnull align 8 dereferenceable(272)) unnamed_addr #5

declare void @_ZN11RGBDSurfaceC1EPKcP6R3Meshd(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef, ptr noundef, double noundef) unnamed_addr #5

attributes #0 = { nobuiltin 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #4 = { 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 #5 = { "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 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nobuiltin allocsize(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 #9 = { nounwind }
attributes #10 = { cold nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 64}
!12 = !{!"_ZTS17RGBDConfiguration", !13, i64 8, !16, i64 24, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !17, i64 72}
!13 = !{!"_ZTS7RNArrayIP9RGBDImageE", !14, i64 0}
!14 = !{!"_ZTS8RNVArray", !6, i64 0, !15, i64 8, !15, i64 12}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS7RNArrayIP11RGBDSurfaceE", !14, i64 0}
!17 = !{!"_ZTS5R3Box", !18, i64 0, !20, i64 8, !20, i64 32}
!18 = !{!"_ZTS7R3Solid", !19, i64 0}
!19 = !{!"_ZTS7R3Shape"}
!20 = !{!"_ZTS7R3Point", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !8, i64 0}


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