; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_mathTests)

; 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.Rcs::CmdLineParser" = type { i8 }
%struct._MatNd = type { ptr, i32, i32, i32, i8 }

@RCS_GLOBAL_RLOG_CB = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@RcsLogLevel = external global i32, align 4
@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [2 x i8], align 1
@__func__.testVectorProjection = external hidden unnamed_addr constant [21 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

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

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

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

declare void @MatNd_setRandom(ptr noundef, double noundef, double noundef) #2

declare void @MatNd_printCommentDigits(ptr noundef, ptr noundef, i32 noundef) #2

declare void @MatNd_destroy(ptr noundef) #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) #2

declare double @VecNd_sqrLength(ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local zeroext i1 @testVectorProjection(i32 noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca %"class.Rcs::CmdLineParser", align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 1, ptr %5, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 5, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  %13 = load i32, ptr %3, align 4, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef %13, ptr noundef %14)
  %15 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.71, ptr noundef %6, ptr noundef @.str.72)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %16 = load i32, ptr %6, align 4, !tbaa !5
  %17 = call ptr @MatNd_create(i32 noundef %16, i32 noundef 1)
  store ptr %17, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %18 = load i32, ptr %6, align 4, !tbaa !5
  %19 = call ptr @MatNd_create(i32 noundef %18, i32 noundef 1)
  store ptr %19, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %20 = load i32, ptr %6, align 4, !tbaa !5
  %21 = call ptr @MatNd_create(i32 noundef %20, i32 noundef 1)
  store ptr %21, ptr %10, align 8, !tbaa !9
  %22 = load ptr, ptr %8, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %22, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %23 = load ptr, ptr %9, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %23, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %24 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %25 = icmp sle i32 3, %24
  br i1 %25, label %26, label %55

26:                                               ; preds = %2
  %27 = load ptr, ptr %8, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.172, ptr noundef %27, i32 noundef 6)
  %28 = load ptr, ptr %9, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.95, ptr noundef %28, i32 noundef 6)
  br label %29

29:                                               ; preds = %26
  %30 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %38

32:                                               ; preds = %29
  %33 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %34 = load ptr, ptr %8, align 8, !tbaa !9
  %35 = load ptr, ptr %9, align 8, !tbaa !9
  %36 = call double @MatNd_diffAngle(ptr noundef %34, ptr noundef %35)
  %37 = fmul double 0x404CA5DC1A63C1F8, %36
  call void (i32, ptr, ptr, i32, ptr, ...) %33(i32 noundef 3, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1460, ptr noundef @.str.173, double noundef %37)
  br label %38

38:                                               ; preds = %32, %29
  %39 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %40 = icmp sle i32 3, %39
  br i1 %40, label %41, label %52

41:                                               ; preds = %38
  %42 = load ptr, ptr @stderr, align 8, !tbaa !9
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1460) #5
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = load ptr, ptr %8, align 8, !tbaa !9
  %46 = load ptr, ptr %9, align 8, !tbaa !9
  %47 = call double @MatNd_diffAngle(ptr noundef %45, ptr noundef %46)
  %48 = fmul double 0x404CA5DC1A63C1F8, %47
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.173, double noundef %48) #5
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.6) #5
  br label %52

52:                                               ; preds = %41, %38
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54, %2
  %56 = load ptr, ptr %10, align 8, !tbaa !9
  %57 = load ptr, ptr %8, align 8, !tbaa !9
  %58 = load ptr, ptr %9, align 8, !tbaa !9
  call void @MatNd_vectorProjection(ptr noundef %56, ptr noundef %57, ptr noundef %58)
  %59 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %60 = icmp sle i32 3, %59
  br i1 %60, label %61, label %115

61:                                               ; preds = %55
  %62 = load ptr, ptr %10, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.174, ptr noundef %62, i32 noundef 6)
  br label %63

63:                                               ; preds = %61
  %64 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %72

66:                                               ; preds = %63
  %67 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %68 = load ptr, ptr %10, align 8, !tbaa !9
  %69 = load ptr, ptr %8, align 8, !tbaa !9
  %70 = call double @MatNd_diffAngle(ptr noundef %68, ptr noundef %69)
  %71 = fmul double 0x404CA5DC1A63C1F8, %70
  call void (i32, ptr, ptr, i32, ptr, ...) %67(i32 noundef 3, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1469, ptr noundef @.str.175, double noundef %71)
  br label %72

72:                                               ; preds = %66, %63
  %73 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %74 = icmp sle i32 3, %73
  br i1 %74, label %75, label %86

75:                                               ; preds = %72
  %76 = load ptr, ptr @stderr, align 8, !tbaa !9
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1469) #5
  %78 = load ptr, ptr @stderr, align 8, !tbaa !9
  %79 = load ptr, ptr %10, align 8, !tbaa !9
  %80 = load ptr, ptr %8, align 8, !tbaa !9
  %81 = call double @MatNd_diffAngle(ptr noundef %79, ptr noundef %80)
  %82 = fmul double 0x404CA5DC1A63C1F8, %81
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.175, double noundef %82) #5
  %84 = load ptr, ptr @stderr, align 8, !tbaa !9
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.6) #5
  br label %86

86:                                               ; preds = %75, %72
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  %90 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %98

92:                                               ; preds = %89
  %93 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %94 = load ptr, ptr %10, align 8, !tbaa !9
  %95 = load ptr, ptr %9, align 8, !tbaa !9
  %96 = call double @MatNd_diffAngle(ptr noundef %94, ptr noundef %95)
  %97 = fmul double 0x404CA5DC1A63C1F8, %96
  call void (i32, ptr, ptr, i32, ptr, ...) %93(i32 noundef 3, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1470, ptr noundef @.str.176, double noundef %97)
  br label %98

98:                                               ; preds = %92, %89
  %99 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %100 = icmp sle i32 3, %99
  br i1 %100, label %101, label %112

101:                                              ; preds = %98
  %102 = load ptr, ptr @stderr, align 8, !tbaa !9
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1470) #5
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = load ptr, ptr %10, align 8, !tbaa !9
  %106 = load ptr, ptr %9, align 8, !tbaa !9
  %107 = call double @MatNd_diffAngle(ptr noundef %105, ptr noundef %106)
  %108 = fmul double 0x404CA5DC1A63C1F8, %107
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.176, double noundef %108) #5
  %110 = load ptr, ptr @stderr, align 8, !tbaa !9
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.6) #5
  br label %112

112:                                              ; preds = %101, %98
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114, %55
  %116 = load ptr, ptr %10, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct._MatNd, ptr %116, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8, !tbaa !13
  %119 = load i32, ptr %6, align 4, !tbaa !5
  %120 = call double @VecNd_sqrLength(ptr noundef %118, i32 noundef %119)
  %121 = load ptr, ptr %9, align 8, !tbaa !9
  %122 = getelementptr inbounds %struct._MatNd, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !13
  %124 = load i32, ptr %6, align 4, !tbaa !5
  %125 = call double @VecNd_sqrLength(ptr noundef %123, i32 noundef %124)
  %126 = fcmp ogt double %120, %125
  br i1 %126, label %127, label %166

127:                                              ; preds = %115
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %130 = icmp ne ptr %129, null
  br i1 %130, label %131, label %143

131:                                              ; preds = %128
  %132 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %133 = load ptr, ptr %10, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct._MatNd, ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !13
  %136 = load i32, ptr %6, align 4, !tbaa !5
  %137 = call double @VecNd_sqrLength(ptr noundef %135, i32 noundef %136)
  %138 = load ptr, ptr %8, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct._MatNd, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !13
  %141 = load i32, ptr %6, align 4, !tbaa !5
  %142 = call double @VecNd_sqrLength(ptr noundef %140, i32 noundef %141)
  call void (i32, ptr, ptr, i32, ptr, ...) %132(i32 noundef 1, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1476, ptr noundef @.str.177, double noundef %137, double noundef %142)
  br label %143

143:                                              ; preds = %131, %128
  %144 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %145 = icmp sle i32 1, %144
  br i1 %145, label %146, label %163

146:                                              ; preds = %143
  %147 = load ptr, ptr @stderr, align 8, !tbaa !9
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1476) #5
  %149 = load ptr, ptr @stderr, align 8, !tbaa !9
  %150 = load ptr, ptr %10, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct._MatNd, ptr %150, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !13
  %153 = load i32, ptr %6, align 4, !tbaa !5
  %154 = call double @VecNd_sqrLength(ptr noundef %152, i32 noundef %153)
  %155 = load ptr, ptr %8, align 8, !tbaa !9
  %156 = getelementptr inbounds %struct._MatNd, ptr %155, i32 0, i32 0
  %157 = load ptr, ptr %156, align 8, !tbaa !13
  %158 = load i32, ptr %6, align 4, !tbaa !5
  %159 = call double @VecNd_sqrLength(ptr noundef %157, i32 noundef %158)
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.177, double noundef %154, double noundef %159) #5
  %161 = load ptr, ptr @stderr, align 8, !tbaa !9
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.6) #5
  br label %163

163:                                              ; preds = %146, %143
  br label %164

164:                                              ; preds = %163
  br label %165

165:                                              ; preds = %164
  store i8 0, ptr %5, align 1, !tbaa !11
  br label %166

166:                                              ; preds = %165, %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store double 0x3E7AD7F29ABCAF48, ptr %11, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %167 = load ptr, ptr %10, align 8, !tbaa !9
  %168 = load ptr, ptr %8, align 8, !tbaa !9
  %169 = call double @MatNd_diffAngle(ptr noundef %167, ptr noundef %168)
  store double %169, ptr %12, align 8, !tbaa !15
  %170 = load double, ptr %12, align 8, !tbaa !15
  %171 = fcmp ogt double %170, 0x3FF921FB54442D18
  br i1 %171, label %172, label %175

172:                                              ; preds = %166
  %173 = load double, ptr %12, align 8, !tbaa !15
  %174 = fsub double %173, 0x400921FB54442D18
  store double %174, ptr %12, align 8, !tbaa !15
  br label %175

175:                                              ; preds = %172, %166
  %176 = load double, ptr %12, align 8, !tbaa !15
  %177 = call double @llvm.fabs.f64(double %176)
  %178 = fcmp ogt double %177, 0x3E7AD7F29ABCAF48
  br i1 %178, label %179, label %202

179:                                              ; preds = %175
  br label %180

180:                                              ; preds = %179
  %181 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %187

183:                                              ; preds = %180
  %184 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %185 = load double, ptr %12, align 8, !tbaa !15
  %186 = call double @llvm.fabs.f64(double %185)
  call void (i32, ptr, ptr, i32, ptr, ...) %184(i32 noundef 1, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1489, ptr noundef @.str.178, double noundef %186, double noundef 0x3E7AD7F29ABCAF48)
  br label %187

187:                                              ; preds = %183, %180
  %188 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %189 = icmp sle i32 1, %188
  br i1 %189, label %190, label %199

190:                                              ; preds = %187
  %191 = load ptr, ptr @stderr, align 8, !tbaa !9
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testVectorProjection, i32 noundef 1489) #5
  %193 = load ptr, ptr @stderr, align 8, !tbaa !9
  %194 = load double, ptr %12, align 8, !tbaa !15
  %195 = call double @llvm.fabs.f64(double %194)
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.178, double noundef %195, double noundef 0x3E7AD7F29ABCAF48) #5
  %197 = load ptr, ptr @stderr, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.6) #5
  br label %199

199:                                              ; preds = %190, %187
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  store i8 0, ptr %5, align 1, !tbaa !11
  br label %202

202:                                              ; preds = %201, %175
  %203 = load ptr, ptr %8, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %203)
  %204 = load ptr, ptr %9, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %204)
  %205 = load ptr, ptr %10, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %205)
  br label %206

206:                                              ; preds = %202
  %207 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %208 = icmp ne ptr %207, null
  br i1 %208, label %209, label %218

209:                                              ; preds = %206
  %210 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %211 = load i8, ptr %5, align 1, !tbaa !11, !range !17, !noundef !18
  %212 = trunc i8 %211 to i1
  br i1 %212, label %213, label %214

213:                                              ; preds = %209
  br label %215

214:                                              ; preds = %209
  br label %215

215:                                              ; preds = %214, %213
  %216 = phi ptr [ @.str.20, %213 ], [ @.str.21, %214 ]
  %217 = getelementptr inbounds [8 x i8], ptr %216, i64 0, i64 0
  call void (i32, ptr, ptr, i32, ptr, ...) %210(i32 noundef 1, ptr noundef @.str.18, ptr noundef @__func__.testVectorProjection, i32 noundef 1497, ptr noundef @.str.179, ptr noundef %217)
  br label %218

218:                                              ; preds = %215, %206
  %219 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %220 = icmp sle i32 1, %219
  br i1 %220, label %221, label %235

221:                                              ; preds = %218
  %222 = load ptr, ptr @stderr, align 8, !tbaa !9
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %222, ptr noundef @.str.22, ptr noundef @__func__.testVectorProjection, i32 noundef 1497) #5
  %224 = load ptr, ptr @stderr, align 8, !tbaa !9
  %225 = load i8, ptr %5, align 1, !tbaa !11, !range !17, !noundef !18
  %226 = trunc i8 %225 to i1
  br i1 %226, label %227, label %228

227:                                              ; preds = %221
  br label %229

228:                                              ; preds = %221
  br label %229

229:                                              ; preds = %228, %227
  %230 = phi ptr [ @.str.20, %227 ], [ @.str.21, %228 ]
  %231 = getelementptr inbounds [8 x i8], ptr %230, i64 0, i64 0
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef @.str.179, ptr noundef %231) #5
  %233 = load ptr, ptr @stderr, align 8, !tbaa !9
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.6) #5
  br label %235

235:                                              ; preds = %229, %218
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236
  %238 = load i8, ptr %5, align 1, !tbaa !11, !range !17, !noundef !18
  %239 = trunc i8 %238 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  ret i1 %239
}

declare double @MatNd_diffAngle(ptr noundef, ptr noundef) #2

declare void @MatNd_vectorProjection(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

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

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


; 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.Rcs::CmdLineParser" = type { i8 }

@RCS_GLOBAL_RLOG_CB = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@RcsLogLevel = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [2 x i8], align 1
@__func__.testVectorProjection = external hidden unnamed_addr constant [21 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

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

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare ptr @MatNd_create(i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @MatNd_setRandom(ptr noundef, double noundef, double noundef) local_unnamed_addr #2

declare void @MatNd_printCommentDigits(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @MatNd_destroy(ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare double @VecNd_sqrLength(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local zeroext i1 @testVectorProjection(i32 noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.Rcs::CmdLineParser", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 5, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %4, i32 noundef %0, ptr noundef %1)
  %5 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.71, ptr noundef nonnull %3, ptr noundef nonnull @.str.72)
  %6 = load i32, ptr %3, align 4, !tbaa !5
  %7 = call ptr @MatNd_create(i32 noundef %6, i32 noundef 1)
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = call ptr @MatNd_create(i32 noundef %8, i32 noundef 1)
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = call ptr @MatNd_create(i32 noundef %10, i32 noundef 1)
  call void @MatNd_setRandom(ptr noundef %7, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @MatNd_setRandom(ptr noundef %9, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %12 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 2
  br i1 %13, label %14, label %31

14:                                               ; preds = %2
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.172, ptr noundef %7, i32 noundef 6)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.95, ptr noundef %9, i32 noundef 6)
  %15 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not = icmp eq ptr %15, null
  br i1 %.not, label %19, label %16

16:                                               ; preds = %14
  %17 = call double @MatNd_diffAngle(ptr noundef %7, ptr noundef %9)
  %18 = fmul double %17, 0x404CA5DC1A63C1F8
  call void (i32, ptr, ptr, i32, ptr, ...) %15(i32 noundef 3, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1460, ptr noundef nonnull @.str.173, double noundef %18)
  br label %19

19:                                               ; preds = %16, %14
  %20 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %21 = icmp sgt i32 %20, 2
  br i1 %21, label %22, label %31

22:                                               ; preds = %19
  %23 = load ptr, ptr @stderr, align 8, !tbaa !9
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1460) #6
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  %26 = call double @MatNd_diffAngle(ptr noundef %7, ptr noundef %9)
  %27 = fmul double %26, 0x404CA5DC1A63C1F8
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.173, double noundef %27) #6
  %29 = load ptr, ptr @stderr, align 8, !tbaa !9
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.6) #6
  br label %31

31:                                               ; preds = %19, %22, %2
  call void @MatNd_vectorProjection(ptr noundef %11, ptr noundef %7, ptr noundef %9)
  %32 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %33 = icmp sgt i32 %32, 2
  br i1 %33, label %34, label %68

34:                                               ; preds = %31
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.174, ptr noundef %11, i32 noundef 6)
  %35 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not51 = icmp eq ptr %35, null
  br i1 %.not51, label %39, label %36

36:                                               ; preds = %34
  %37 = call double @MatNd_diffAngle(ptr noundef %11, ptr noundef %7)
  %38 = fmul double %37, 0x404CA5DC1A63C1F8
  call void (i32, ptr, ptr, i32, ptr, ...) %35(i32 noundef 3, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1469, ptr noundef nonnull @.str.175, double noundef %38)
  br label %39

39:                                               ; preds = %36, %34
  %40 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 2
  br i1 %41, label %42, label %51

42:                                               ; preds = %39
  %43 = load ptr, ptr @stderr, align 8, !tbaa !9
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1469) #6
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = call double @MatNd_diffAngle(ptr noundef %11, ptr noundef %7)
  %47 = fmul double %46, 0x404CA5DC1A63C1F8
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.175, double noundef %47) #6
  %49 = load ptr, ptr @stderr, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str.6) #6
  br label %51

51:                                               ; preds = %39, %42
  %52 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not52 = icmp eq ptr %52, null
  br i1 %.not52, label %56, label %53

53:                                               ; preds = %51
  %54 = call double @MatNd_diffAngle(ptr noundef %11, ptr noundef %9)
  %55 = fmul double %54, 0x404CA5DC1A63C1F8
  call void (i32, ptr, ptr, i32, ptr, ...) %52(i32 noundef 3, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1470, ptr noundef nonnull @.str.176, double noundef %55)
  br label %56

56:                                               ; preds = %53, %51
  %57 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %58 = icmp sgt i32 %57, 2
  br i1 %58, label %59, label %68

59:                                               ; preds = %56
  %60 = load ptr, ptr @stderr, align 8, !tbaa !9
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1470) #6
  %62 = load ptr, ptr @stderr, align 8, !tbaa !9
  %63 = call double @MatNd_diffAngle(ptr noundef %11, ptr noundef %9)
  %64 = fmul double %63, 0x404CA5DC1A63C1F8
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.176, double noundef %64) #6
  %66 = load ptr, ptr @stderr, align 8, !tbaa !9
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef nonnull @.str.6) #6
  br label %68

68:                                               ; preds = %56, %59, %31
  %69 = load ptr, ptr %11, align 8, !tbaa !11
  %70 = load i32, ptr %3, align 4, !tbaa !5
  %71 = call double @VecNd_sqrLength(ptr noundef %69, i32 noundef %70)
  %72 = load ptr, ptr %9, align 8, !tbaa !11
  %73 = load i32, ptr %3, align 4, !tbaa !5
  %74 = call double @VecNd_sqrLength(ptr noundef %72, i32 noundef %73)
  %75 = fcmp ogt double %71, %74
  br i1 %75, label %76, label %101

76:                                               ; preds = %68
  %77 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not53 = icmp eq ptr %77, null
  br i1 %.not53, label %85, label %78

78:                                               ; preds = %76
  %79 = load ptr, ptr %11, align 8, !tbaa !11
  %80 = load i32, ptr %3, align 4, !tbaa !5
  %81 = call double @VecNd_sqrLength(ptr noundef %79, i32 noundef %80)
  %82 = load ptr, ptr %7, align 8, !tbaa !11
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = call double @VecNd_sqrLength(ptr noundef %82, i32 noundef %83)
  call void (i32, ptr, ptr, i32, ptr, ...) %77(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1476, ptr noundef nonnull @.str.177, double noundef %81, double noundef %84)
  br label %85

85:                                               ; preds = %78, %76
  %86 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %88, label %101

88:                                               ; preds = %85
  %89 = load ptr, ptr @stderr, align 8, !tbaa !9
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1476) #6
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = load ptr, ptr %11, align 8, !tbaa !11
  %93 = load i32, ptr %3, align 4, !tbaa !5
  %94 = call double @VecNd_sqrLength(ptr noundef %92, i32 noundef %93)
  %95 = load ptr, ptr %7, align 8, !tbaa !11
  %96 = load i32, ptr %3, align 4, !tbaa !5
  %97 = call double @VecNd_sqrLength(ptr noundef %95, i32 noundef %96)
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef nonnull @.str.177, double noundef %94, double noundef %97) #6
  %99 = load ptr, ptr @stderr, align 8, !tbaa !9
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.6) #6
  br label %101

101:                                              ; preds = %85, %88, %68
  %.041 = phi i8 [ 1, %68 ], [ 0, %88 ], [ 0, %85 ]
  %102 = call double @MatNd_diffAngle(ptr noundef nonnull %11, ptr noundef %7)
  %103 = fcmp ogt double %102, 0x3FF921FB54442D18
  %104 = fadd double %102, 0xC00921FB54442D18
  %.0 = select i1 %103, double %104, double %102
  %105 = call double @llvm.fabs.f64(double %.0)
  %106 = fcmp ogt double %105, 0x3E7AD7F29ABCAF48
  br i1 %106, label %107, label %120

107:                                              ; preds = %101
  %108 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not54 = icmp eq ptr %108, null
  br i1 %.not54, label %110, label %109

109:                                              ; preds = %107
  call void (i32, ptr, ptr, i32, ptr, ...) %108(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1489, ptr noundef nonnull @.str.178, double noundef %105, double noundef 0x3E7AD7F29ABCAF48)
  br label %110

110:                                              ; preds = %109, %107
  %111 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %112 = icmp sgt i32 %111, 0
  br i1 %112, label %113, label %120

113:                                              ; preds = %110
  %114 = load ptr, ptr @stderr, align 8, !tbaa !9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1489) #6
  %116 = load ptr, ptr @stderr, align 8, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef nonnull @.str.178, double noundef %105, double noundef 0x3E7AD7F29ABCAF48) #6
  %118 = load ptr, ptr @stderr, align 8, !tbaa !9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef nonnull @.str.6) #6
  br label %120

120:                                              ; preds = %110, %113, %101
  %.1 = phi i8 [ %.041, %101 ], [ 0, %113 ], [ 0, %110 ]
  call void @MatNd_destroy(ptr noundef %7)
  call void @MatNd_destroy(ptr noundef nonnull %9)
  call void @MatNd_destroy(ptr noundef nonnull %11)
  %121 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not55 = icmp eq ptr %121, null
  br i1 %.not55, label %124, label %122

122:                                              ; preds = %120
  %123 = trunc nuw i8 %.1 to i1
  %.str.20..str.21 = select i1 %123, ptr @.str.20, ptr @.str.21
  call void (i32, ptr, ptr, i32, ptr, ...) %121(i32 noundef 1, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1497, ptr noundef nonnull @.str.179, ptr noundef nonnull %.str.20..str.21)
  br label %124

124:                                              ; preds = %122, %120
  %125 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %126 = icmp sgt i32 %125, 0
  br i1 %126, label %127, label %._crit_edge

._crit_edge:                                      ; preds = %124
  %.pre = trunc nuw i8 %.1 to i1
  br label %135

127:                                              ; preds = %124
  %128 = load ptr, ptr @stderr, align 8, !tbaa !9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testVectorProjection, i32 noundef 1497) #6
  %130 = load ptr, ptr @stderr, align 8, !tbaa !9
  %131 = trunc nuw i8 %.1 to i1
  %.str.20..str.211 = select i1 %131, ptr @.str.20, ptr @.str.21
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef nonnull @.str.179, ptr noundef nonnull %.str.20..str.211) #6
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef nonnull @.str.6) #6
  br label %135

135:                                              ; preds = %._crit_edge, %127
  %.pre-phi = phi i1 [ %.pre, %._crit_edge ], [ %131, %127 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  ret i1 %.pre-phi
}

declare double @MatNd_diffAngle(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @MatNd_vectorProjection(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { cold nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass