; LLVM IR from OpenFAST/openfast :: modules/map/src (mapinit)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.tagbstring = type { i32, i32, ptr }
%struct.Line_t = type { ptr, %struct.LineOptions, %struct.VarTypePtr_t, %struct.VarTypePtr_t, %struct.VarType_t, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct.list_t, ptr, ptr, i32, i32, i32, i32, i32 }
%struct.LineOptions = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%struct.VarTypePtr_t = type { ptr, ptr, ptr, i8, i32, i32 }
%struct.VarType_t = type { ptr, ptr, double, i8, i8, i32, i32 }
%struct.list_t = type { ptr, ptr, ptr, i32, ptr, i32, i32, i32, ptr, %struct.list_attributes_s }
%struct.list_attributes_s = type { ptr, ptr, ptr, i32, ptr, ptr, ptr }
%struct.Domain_t = type { %struct.InnerSolveAttributes_t, %struct.OuterSolveAttributes_t, %struct.DomainOptions_t, ptr, i32, %struct.Vessel_t, %struct.list_t, %struct.list_t, %struct.list_t, %struct.list_t, ptr }
%struct.InnerSolveAttributes_t = type { ptr, double, double, double, [2 x double], [2 x double], [4 x double], [2 x double], [2 x double], [2 x double], [2 x double], [2 x double], [2 x double], double, i32, i32, i32, i32, i32, [2 x i32], i32, i32 }
%struct.OuterSolveAttributes_t = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double, double, double, double, i8, i8, i8, i32, i32, i32 }
%struct.DomainOptions_t = type { ptr, double, double, double, i8, i8, i32 }
%struct.Vessel_t = type { %struct.EulerAngle_t, ptr, ptr, ptr, %struct.Point_t, %struct.Point_t, %struct.Force_t }
%struct.EulerAngle_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.Point_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.Force_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.InitializationData_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.bstrList = type { i32, i32, ptr }

@.str.33 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [5 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 willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

declare ptr @bsplits(ptr noundef, ptr noundef) #2

declare i32 @bstrListDestroy(ptr noundef) #2

declare ptr @bstrcpy(ptr noundef) #2

declare ptr @bformat(ptr noundef, ...) #2

declare i32 @bdestroy(ptr noundef) #2

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

declare ptr @bfromcstr(ptr noundef) #2

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @repeat_lines(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca double, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.tagbstring, align 8
  %25 = alloca %struct.Line_t, align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.Domain_t, ptr %27, i32 0, i32 2
  %29 = getelementptr inbounds %struct.DomainOptions_t, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %29, align 4, !tbaa !11
  store i32 %30, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.InitializationData_t, ptr %31, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !25
  %34 = getelementptr inbounds %struct.bstrList, ptr %33, i32 0, i32 0
  %35 = load i32, ptr %34, align 8, !tbaa !27
  store i32 %35, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.InitializationData_t, ptr %36, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !29
  %39 = getelementptr inbounds %struct.bstrList, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 8, !tbaa !27
  store i32 %40, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %41 = load i32, ptr %17, align 4, !tbaa !9
  %42 = load i32, ptr %16, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1
  %44 = mul nsw i32 %41, %43
  store i32 %44, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store double 0.000000e+00, ptr %21, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %45 = call ptr (ptr, ...) @bformat(ptr noundef @.str.33)
  store ptr %45, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store ptr null, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 480, ptr %25) #4
  br label %46

46:                                               ; preds = %4
  %47 = getelementptr inbounds %struct.tagbstring, ptr %24, i32 0, i32 2
  store ptr @.str.34, ptr %47, align 8, !tbaa !31
  %48 = getelementptr inbounds %struct.tagbstring, ptr %24, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !31
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %56

51:                                               ; preds = %46
  %52 = getelementptr inbounds %struct.tagbstring, ptr %24, i32 0, i32 2
  %53 = load ptr, ptr %52, align 8, !tbaa !31
  %54 = call i64 @strlen(ptr noundef %53) #5
  %55 = trunc i64 %54 to i32
  br label %57

56:                                               ; preds = %46
  br label %57

57:                                               ; preds = %56, %51
  %58 = phi i32 [ %55, %51 ], [ 0, %56 ]
  %59 = getelementptr inbounds %struct.tagbstring, ptr %24, i32 0, i32 1
  store i32 %58, ptr %59, align 4, !tbaa !33
  %60 = getelementptr inbounds %struct.tagbstring, ptr %24, i32 0, i32 0
  store i32 -1, ptr %60, align 8, !tbaa !34
  br label %61

61:                                               ; preds = %57
  br label %62

62:                                               ; preds = %61
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.InitializationData_t, ptr %63, i32 0, i32 5
  %65 = load ptr, ptr %64, align 8, !tbaa !35
  %66 = load i32, ptr %19, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  %68 = call i32 @bstrListAlloc(ptr noundef %65, i32 noundef %67)
  store i32 %68, ptr %10, align 4, !tbaa !9
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.InitializationData_t, ptr %69, i32 0, i32 5
  %71 = load ptr, ptr %70, align 8, !tbaa !35
  %72 = getelementptr inbounds %struct.bstrList, ptr %71, i32 0, i32 0
  store i32 0, ptr %72, align 8, !tbaa !27
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %104, %62
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = load i32, ptr %17, align 4, !tbaa !9
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %77, label %107

77:                                               ; preds = %73
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.InitializationData_t, ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !25
  %81 = getelementptr inbounds %struct.bstrList, ptr %80, i32 0, i32 2
  %82 = load ptr, ptr %81, align 8, !tbaa !36
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds ptr, ptr %82, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.tagbstring, ptr %86, i32 0, i32 2
  %88 = load ptr, ptr %87, align 8, !tbaa !31
  %89 = call ptr @bfromcstr(ptr noundef %88)
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.InitializationData_t, ptr %90, i32 0, i32 5
  %92 = load ptr, ptr %91, align 8, !tbaa !35
  %93 = getelementptr inbounds %struct.bstrList, ptr %92, i32 0, i32 2
  %94 = load ptr, ptr %93, align 8, !tbaa !36
  %95 = load i32, ptr %11, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds ptr, ptr %94, i64 %96
  store ptr %89, ptr %97, align 8, !tbaa !5
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.InitializationData_t, ptr %98, i32 0, i32 5
  %100 = load ptr, ptr %99, align 8, !tbaa !35
  %101 = getelementptr inbounds %struct.bstrList, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 8, !tbaa !27
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %101, align 8, !tbaa !27
  br label %104

104:                                              ; preds = %77
  %105 = load i32, ptr %11, align 4, !tbaa !9
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %11, align 4, !tbaa !9
  br label %73, !llvm.loop !37

107:                                              ; preds = %73
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %263, %107
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = icmp slt i32 %109, %110
  br i1 %111, label %112, label %266

112:                                              ; preds = %108
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %259, %112
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %117, label %262

117:                                              ; preds = %113
  %118 = call i32 @reset_line(ptr noundef %25)
  store i32 %118, ptr %10, align 4, !tbaa !9
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = add nsw i32 %119, 1
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = mul nsw i32 %120, %121
  %123 = load i32, ptr %12, align 4, !tbaa !9
  %124 = add nsw i32 %122, %123
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.Domain_t, ptr %125, i32 0, i32 2
  %127 = getelementptr inbounds %struct.DomainOptions_t, ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !39
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds double, ptr %128, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !30
  %133 = fmul double %132, 0x3F91DF46A226E211
  store double %133, ptr %21, align 8, !tbaa !30
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.InitializationData_t, ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %135, align 8, !tbaa !25
  %137 = getelementptr inbounds %struct.bstrList, ptr %136, i32 0, i32 2
  %138 = load ptr, ptr %137, align 8, !tbaa !36
  %139 = load i32, ptr %12, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds ptr, ptr %138, i64 %140
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  %143 = call ptr @bsplits(ptr noundef %142, ptr noundef %24)
  store ptr %143, ptr %23, align 8, !tbaa !5
  store i32 0, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %117
  br label %145

145:                                              ; preds = %233, %144
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = load ptr, ptr %23, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.bstrList, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 8, !tbaa !27
  %150 = sub nsw i32 %149, 1
  %151 = icmp slt i32 %146, %150
  br i1 %151, label %152, label %236

152:                                              ; preds = %145
  %153 = load ptr, ptr %23, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.bstrList, ptr %153, i32 0, i32 2
  %155 = load ptr, ptr %154, align 8, !tbaa !36
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds ptr, ptr %155, i64 %157
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.tagbstring, ptr %159, i32 0, i32 1
  %161 = load i32, ptr %160, align 4, !tbaa !33
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %233

163:                                              ; preds = %152
  %164 = load ptr, ptr %23, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.bstrList, ptr %164, i32 0, i32 2
  %166 = load ptr, ptr %165, align 8, !tbaa !36
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds ptr, ptr %166, i64 %168
  %170 = load ptr, ptr %169, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.tagbstring, ptr %170, i32 0, i32 2
  %172 = load ptr, ptr %171, align 8, !tbaa !31
  store ptr %172, ptr %20, align 8, !tbaa !5
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %175, label %182

175:                                              ; preds = %163
  %176 = load i32, ptr %15, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  %178 = load ptr, ptr %22, align 8, !tbaa !5
  %179 = call i32 @expand_line_number(i32 noundef %177, ptr noundef %178)
  store i32 %179, ptr %10, align 4, !tbaa !9
  %180 = load i32, ptr %13, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %13, align 4, !tbaa !9
  br label %232

182:                                              ; preds = %163
  %183 = load i32, ptr %13, align 4, !tbaa !9
  %184 = icmp eq i32 %183, 1
  br i1 %184, label %185, label %191

185:                                              ; preds = %182
  %186 = load ptr, ptr %20, align 8, !tbaa !5
  %187 = load ptr, ptr %22, align 8, !tbaa !5
  %188 = call i32 @expand_line_property_name(ptr noundef %186, ptr noundef %187)
  store i32 %188, ptr %10, align 4, !tbaa !9
  %189 = load i32, ptr %13, align 4, !tbaa !9
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %13, align 4, !tbaa !9
  br label %231

191:                                              ; preds = %182
  %192 = load i32, ptr %13, align 4, !tbaa !9
  %193 = icmp eq i32 %192, 2
  br i1 %193, label %194, label %200

194:                                              ; preds = %191
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = load ptr, ptr %22, align 8, !tbaa !5
  %197 = call i32 @expand_line_length(ptr noundef %195, ptr noundef %196)
  store i32 %197, ptr %10, align 4, !tbaa !9
  %198 = load i32, ptr %13, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %13, align 4, !tbaa !9
  br label %230

200:                                              ; preds = %191
  %201 = load i32, ptr %13, align 4, !tbaa !9
  %202 = icmp eq i32 %201, 3
  br i1 %202, label %203, label %211

203:                                              ; preds = %200
  %204 = load ptr, ptr %20, align 8, !tbaa !5
  %205 = load i32, ptr %11, align 4, !tbaa !9
  %206 = load i32, ptr %18, align 4, !tbaa !9
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = call i32 @expand_line_anchor_number(ptr noundef %204, i32 noundef %205, i32 noundef %206, ptr noundef %207)
  store i32 %208, ptr %10, align 4, !tbaa !9
  %209 = load i32, ptr %13, align 4, !tbaa !9
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %13, align 4, !tbaa !9
  br label %229

211:                                              ; preds = %200
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = icmp eq i32 %212, 4
  br i1 %213, label %214, label %222

214:                                              ; preds = %211
  %215 = load ptr, ptr %20, align 8, !tbaa !5
  %216 = load i32, ptr %11, align 4, !tbaa !9
  %217 = load i32, ptr %18, align 4, !tbaa !9
  %218 = load ptr, ptr %22, align 8, !tbaa !5
  %219 = call i32 @expand_line_fairlead_number(ptr noundef %215, i32 noundef %216, i32 noundef %217, ptr noundef %218)
  store i32 %219, ptr %10, align 4, !tbaa !9
  %220 = load i32, ptr %13, align 4, !tbaa !9
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %13, align 4, !tbaa !9
  br label %228

222:                                              ; preds = %211
  %223 = load ptr, ptr %20, align 8, !tbaa !5
  %224 = load ptr, ptr %22, align 8, !tbaa !5
  %225 = call i32 @expand_line_flag(ptr noundef %223, ptr noundef %224)
  store i32 %225, ptr %10, align 4, !tbaa !9
  %226 = load i32, ptr %13, align 4, !tbaa !9
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %13, align 4, !tbaa !9
  br label %228

228:                                              ; preds = %222, %214
  br label %229

229:                                              ; preds = %228, %203
  br label %230

230:                                              ; preds = %229, %194
  br label %231

231:                                              ; preds = %230, %185
  br label %232

232:                                              ; preds = %231, %175
  br label %233

233:                                              ; preds = %232, %152
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %14, align 4, !tbaa !9
  br label %145, !llvm.loop !40

236:                                              ; preds = %145
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.InitializationData_t, ptr %237, i32 0, i32 5
  %239 = load ptr, ptr %238, align 8, !tbaa !35
  %240 = getelementptr inbounds %struct.bstrList, ptr %239, i32 0, i32 0
  %241 = load i32, ptr %240, align 8, !tbaa !27
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr %240, align 8, !tbaa !27
  %243 = load ptr, ptr %22, align 8, !tbaa !5
  %244 = call ptr @bstrcpy(ptr noundef %243)
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.InitializationData_t, ptr %245, i32 0, i32 5
  %247 = load ptr, ptr %246, align 8, !tbaa !35
  %248 = getelementptr inbounds %struct.bstrList, ptr %247, i32 0, i32 2
  %249 = load ptr, ptr %248, align 8, !tbaa !36
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds ptr, ptr %249, i64 %251
  store ptr %244, ptr %252, align 8, !tbaa !5
  %253 = load ptr, ptr %22, align 8, !tbaa !5
  %254 = call i32 @bassigncstr(ptr noundef %253, ptr noundef @.str.33)
  store i32 %254, ptr %10, align 4, !tbaa !9
  br label %255

255:                                              ; preds = %236
  br label %256

256:                                              ; preds = %255
  %257 = load ptr, ptr %23, align 8, !tbaa !5
  %258 = call i32 @bstrListDestroy(ptr noundef %257)
  store i32 %258, ptr %10, align 4, !tbaa !9
  br label %259

259:                                              ; preds = %256
  %260 = load i32, ptr %12, align 4, !tbaa !9
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %12, align 4, !tbaa !9
  br label %113, !llvm.loop !41

262:                                              ; preds = %113
  br label %263

263:                                              ; preds = %262
  %264 = load i32, ptr %11, align 4, !tbaa !9
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %11, align 4, !tbaa !9
  br label %108, !llvm.loop !42

266:                                              ; preds = %108
  %267 = load ptr, ptr %22, align 8, !tbaa !5
  %268 = call i32 @bdestroy(ptr noundef %267)
  store i32 %268, ptr %10, align 4, !tbaa !9
  %269 = load ptr, ptr %9, align 8, !tbaa !5
  %270 = load i32, ptr %269, align 4, !tbaa !9
  %271 = icmp eq i32 %270, 0
  br i1 %271, label %272, label %273

272:                                              ; preds = %266
  store i32 0, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %279

273:                                              ; preds = %266
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = load i32, ptr %274, align 4, !tbaa !9
  %276 = icmp eq i32 %275, 2
  br i1 %276, label %277, label %278

277:                                              ; preds = %273
  store i32 2, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %279

278:                                              ; preds = %273
  store i32 3, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %279

279:                                              ; preds = %278, %277, %272
  call void @llvm.lifetime.end.p0(i64 480, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %280 = load i32, ptr %5, align 4
  ret i32 %280
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @reset_line(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 444}
!12 = !{!"Domain_t", !13, i64 0, !15, i64 240, !17, i64 408, !6, i64 448, !10, i64 456, !18, i64 464, !23, i64 968, !23, i64 1088, !23, i64 1208, !23, i64 1328, !6, i64 1448}
!13 = !{!"InnerSolveAttributes_t", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !7, i64 32, !7, i64 48, !7, i64 64, !7, i64 96, !7, i64 112, !7, i64 128, !7, i64 144, !7, i64 160, !7, i64 176, !14, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !7, i64 220, !10, i64 228, !10, i64 232}
!14 = !{!"double", !7, i64 0}
!15 = !{!"OuterSolveAttributes_t", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !16, i64 152, !16, i64 153, !16, i64 154, !10, i64 156, !10, i64 160, !10, i64 164}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"DomainOptions_t", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !16, i64 32, !16, i64 33, !10, i64 36}
!18 = !{!"Vessel_t", !19, i64 0, !6, i64 120, !6, i64 128, !6, i64 136, !21, i64 144, !21, i64 264, !22, i64 384}
!19 = !{!"EulerAngle_t", !20, i64 0, !20, i64 40, !20, i64 80}
!20 = !{!"VarType_t", !6, i64 0, !6, i64 8, !14, i64 16, !16, i64 24, !16, i64 25, !10, i64 28, !10, i64 32}
!21 = !{!"Point_t", !20, i64 0, !20, i64 40, !20, i64 80}
!22 = !{!"Force_t", !20, i64 0, !20, i64 40, !20, i64 80}
!23 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !6, i64 56, !24, i64 64}
!24 = !{!"list_attributes_s", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!25 = !{!26, !6, i64 16}
!26 = !{!"InitializationData_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!27 = !{!28, !10, i64 0}
!28 = !{!"bstrList", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!26, !6, i64 8}
!30 = !{!14, !14, i64 0}
!31 = !{!32, !6, i64 8}
!32 = !{!"tagbstring", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!32, !10, i64 4}
!34 = !{!32, !10, i64 0}
!35 = !{!26, !6, i64 40}
!36 = !{!28, !6, i64 8}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!12, !6, i64 408}
!40 = distinct !{!40, !38}
!41 = distinct !{!41, !38}
!42 = distinct !{!42, !38}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.tagbstring = type { i32, i32, ptr }
%struct.Line_t = type { ptr, %struct.LineOptions, %struct.VarTypePtr_t, %struct.VarTypePtr_t, %struct.VarType_t, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct.list_t, ptr, ptr, i32, i32, i32, i32, i32 }
%struct.LineOptions = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%struct.VarTypePtr_t = type { ptr, ptr, ptr, i8, i32, i32 }
%struct.VarType_t = type { ptr, ptr, double, i8, i8, i32, i32 }
%struct.list_t = type { ptr, ptr, ptr, i32, ptr, i32, i32, i32, ptr, %struct.list_attributes_s }
%struct.list_attributes_s = type { ptr, ptr, ptr, i32, ptr, ptr, ptr }

@.str.33 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

declare ptr @bsplits(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @bstrListDestroy(ptr noundef) local_unnamed_addr #2

declare ptr @bstrcpy(ptr noundef) local_unnamed_addr #2

declare ptr @bformat(ptr noundef, ...) local_unnamed_addr #2

declare i32 @bdestroy(ptr noundef) local_unnamed_addr #2

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

declare ptr @bfromcstr(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 4) i32 @repeat_lines(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readonly %3) local_unnamed_addr #3 {
  %5 = alloca %struct.tagbstring, align 8
  %6 = alloca %struct.Line_t, align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 444
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !23
  %11 = load i32, ptr %10, align 8, !tbaa !25
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !27
  %14 = load i32, ptr %13, align 8, !tbaa !25
  %15 = add nsw i32 %8, 1
  %16 = mul nsw i32 %11, %15
  %17 = tail call ptr (ptr, ...) @bformat(ptr noundef nonnull @.str.33) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 480, ptr nonnull %6) #4
  %18 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr @.str.34, ptr %18, align 8, !tbaa !28
  %19 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.34) #5
  %20 = trunc i64 %19 to i32
  %21 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %20, ptr %21, align 4, !tbaa !30
  store i32 -1, ptr %5, align 8, !tbaa !31
  %22 = getelementptr inbounds i8, ptr %1, i64 40
  %23 = load ptr, ptr %22, align 8, !tbaa !32
  %24 = add nsw i32 %16, 1
  %25 = tail call i32 @bstrListAlloc(ptr noundef %23, i32 noundef %24) #4
  %26 = load ptr, ptr %22, align 8, !tbaa !32
  store i32 0, ptr %26, align 8, !tbaa !25
  %27 = icmp slt i32 %11, 1
  br i1 %27, label %._crit_edge90, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  %wide.trip.count = zext nneg i32 %11 to i64
  br label %.lr.ph

.preheader81:                                     ; preds = %.lr.ph
  %28 = icmp slt i32 %8, 1
  %brmerge = or i1 %28, %27
  br i1 %brmerge, label %._crit_edge90, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %.preheader81
  %29 = zext nneg i32 %11 to i64
  %wide.trip.count104 = zext nneg i32 %8 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge88.us
  %indvars.iv101 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next102, %._crit_edge88.us ]
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %30 = mul nuw nsw i64 %indvars.iv.next102, %29
  %31 = trunc nuw nsw i64 %indvars.iv101 to i32
  %32 = trunc nuw nsw i64 %indvars.iv101 to i32
  br label %33

33:                                               ; preds = %.preheader.us, %._crit_edge.us
  %indvars.iv96 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next97, %._crit_edge.us ]
  %34 = call i32 @reset_line(ptr noundef nonnull %6)
  %35 = add nuw nsw i64 %indvars.iv96, %30
  %36 = load ptr, ptr %9, align 8, !tbaa !23
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = load ptr, ptr %37, align 8, !tbaa !33
  %39 = getelementptr inbounds ptr, ptr %38, i64 %indvars.iv96
  %40 = load ptr, ptr %39, align 8, !tbaa !34
  %41 = call ptr @bsplits(ptr noundef %40, ptr noundef nonnull %5) #4
  %42 = load i32, ptr %41, align 8, !tbaa !25
  %43 = icmp sgt i32 %42, 1
  br i1 %43, label %.lr.ph85.us, label %._crit_edge.us

._crit_edge.us:                                   ; preds = %76, %33
  %44 = load ptr, ptr %22, align 8, !tbaa !32
  %45 = load i32, ptr %44, align 8, !tbaa !25
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %44, align 8, !tbaa !25
  %47 = call ptr @bstrcpy(ptr noundef %17) #4
  %48 = load ptr, ptr %22, align 8, !tbaa !32
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = load ptr, ptr %49, align 8, !tbaa !33
  %51 = getelementptr inbounds ptr, ptr %50, i64 %35
  store ptr %47, ptr %51, align 8, !tbaa !34
  %52 = call i32 @bassigncstr(ptr noundef %17, ptr noundef nonnull @.str.33) #4
  %53 = call i32 @bstrListDestroy(ptr noundef nonnull %41) #4
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %exitcond100.not = icmp eq i64 %indvars.iv.next97, %29
  br i1 %exitcond100.not, label %._crit_edge88.us, label %33, !llvm.loop !35

54:                                               ; preds = %.lr.ph85.us, %76
  %indvars.iv93 = phi i64 [ 0, %.lr.ph85.us ], [ %indvars.iv.next94, %76 ]
  %.07484.us = phi i32 [ 0, %.lr.ph85.us ], [ %.175.us, %76 ]
  %55 = load ptr, ptr %81, align 8, !tbaa !33
  %56 = getelementptr inbounds ptr, ptr %55, i64 %indvars.iv93
  %57 = load ptr, ptr %56, align 8, !tbaa !34
  %58 = getelementptr inbounds i8, ptr %57, i64 4
  %59 = load i32, ptr %58, align 4, !tbaa !30
  %.not.us = icmp eq i32 %59, 0
  br i1 %.not.us, label %76, label %60

60:                                               ; preds = %54
  %61 = getelementptr inbounds i8, ptr %57, i64 8
  %62 = load ptr, ptr %61, align 8, !tbaa !28
  switch i32 %.07484.us, label %73 [
    i32 0, label %71
    i32 1, label %69
    i32 2, label %67
    i32 3, label %65
    i32 4, label %63
  ]

63:                                               ; preds = %60
  %64 = call i32 @expand_line_fairlead_number(ptr noundef %62, i32 noundef %31, i32 noundef %14, ptr noundef %17)
  br label %76

65:                                               ; preds = %60
  %66 = call i32 @expand_line_anchor_number(ptr noundef %62, i32 noundef %32, i32 noundef %14, ptr noundef %17)
  br label %76

67:                                               ; preds = %60
  %68 = call i32 @expand_line_length(ptr noundef %62, ptr noundef %17)
  br label %76

69:                                               ; preds = %60
  %70 = call i32 @expand_line_property_name(ptr noundef %62, ptr noundef %17)
  br label %76

71:                                               ; preds = %60
  %72 = call i32 @expand_line_number(i32 noundef %83, ptr noundef %17)
  br label %76

73:                                               ; preds = %60
  %74 = call i32 @expand_line_flag(ptr noundef %62, ptr noundef %17)
  %75 = add nsw i32 %.07484.us, 1
  br label %76

76:                                               ; preds = %73, %71, %69, %67, %65, %63, %54
  %.175.us = phi i32 [ 1, %71 ], [ 2, %69 ], [ 3, %67 ], [ 4, %65 ], [ 5, %63 ], [ %75, %73 ], [ %.07484.us, %54 ]
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %77 = load i32, ptr %41, align 8, !tbaa !25
  %78 = add nsw i32 %77, -1
  %79 = sext i32 %78 to i64
  %80 = icmp slt i64 %indvars.iv.next94, %79
  br i1 %80, label %54, label %._crit_edge.us, !llvm.loop !37

.lr.ph85.us:                                      ; preds = %33
  %81 = getelementptr inbounds i8, ptr %41, i64 8
  %82 = trunc i64 %35 to i32
  %83 = add i32 %82, 1
  br label %54

._crit_edge88.us:                                 ; preds = %._crit_edge.us
  %exitcond105.not = icmp eq i64 %indvars.iv.next102, %wide.trip.count104
  br i1 %exitcond105.not, label %._crit_edge90, label %.preheader.us, !llvm.loop !38

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %84 = load ptr, ptr %9, align 8, !tbaa !23
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  %86 = load ptr, ptr %85, align 8, !tbaa !33
  %87 = getelementptr inbounds ptr, ptr %86, i64 %indvars.iv
  %88 = load ptr, ptr %87, align 8, !tbaa !34
  %89 = getelementptr inbounds i8, ptr %88, i64 8
  %90 = load ptr, ptr %89, align 8, !tbaa !28
  %91 = tail call ptr @bfromcstr(ptr noundef %90) #4
  %92 = load ptr, ptr %22, align 8, !tbaa !32
  %93 = getelementptr inbounds i8, ptr %92, i64 8
  %94 = load ptr, ptr %93, align 8, !tbaa !33
  %95 = getelementptr inbounds ptr, ptr %94, i64 %indvars.iv
  store ptr %91, ptr %95, align 8, !tbaa !34
  %96 = load ptr, ptr %22, align 8, !tbaa !32
  %97 = load i32, ptr %96, align 8, !tbaa !25
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %96, align 8, !tbaa !25
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader81, label %.lr.ph, !llvm.loop !39

._crit_edge90:                                    ; preds = %._crit_edge88.us, %.preheader81, %4
  %99 = call i32 @bdestroy(ptr noundef %17) #4
  %100 = load i32, ptr %3, align 4, !tbaa !40
  %switch.selectcmp = icmp eq i32 %100, 2
  %switch.select = select i1 %switch.selectcmp, i32 2, i32 3
  %switch.selectcmp79 = icmp eq i32 %100, 0
  %switch.select80 = select i1 %switch.selectcmp79, i32 0, i32 %switch.select
  call void @llvm.lifetime.end.p0(i64 480, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  ret i32 %switch.select80
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !12, i64 444}
!6 = !{!"Domain_t", !7, i64 0, !13, i64 240, !15, i64 408, !8, i64 448, !12, i64 456, !16, i64 464, !21, i64 968, !21, i64 1088, !21, i64 1208, !21, i64 1328, !8, i64 1448}
!7 = !{!"InnerSolveAttributes_t", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !9, i64 32, !9, i64 48, !9, i64 64, !9, i64 96, !9, i64 112, !9, i64 128, !9, i64 144, !9, i64 160, !9, i64 176, !11, i64 192, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !9, i64 220, !12, i64 228, !12, i64 232}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"OuterSolveAttributes_t", !12, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !14, i64 152, !14, i64 153, !14, i64 154, !12, i64 156, !12, i64 160, !12, i64 164}
!14 = !{!"_Bool", !9, i64 0}
!15 = !{!"DomainOptions_t", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !14, i64 32, !14, i64 33, !12, i64 36}
!16 = !{!"Vessel_t", !17, i64 0, !8, i64 120, !8, i64 128, !8, i64 136, !19, i64 144, !19, i64 264, !20, i64 384}
!17 = !{!"EulerAngle_t", !18, i64 0, !18, i64 40, !18, i64 80}
!18 = !{!"VarType_t", !8, i64 0, !8, i64 8, !11, i64 16, !14, i64 24, !14, i64 25, !12, i64 28, !12, i64 32}
!19 = !{!"Point_t", !18, i64 0, !18, i64 40, !18, i64 80}
!20 = !{!"Force_t", !18, i64 0, !18, i64 40, !18, i64 80}
!21 = !{!"", !8, i64 0, !8, i64 8, !8, i64 16, !12, i64 24, !8, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !8, i64 56, !22, i64 64}
!22 = !{!"list_attributes_s", !8, i64 0, !8, i64 8, !8, i64 16, !12, i64 24, !8, i64 32, !8, i64 40, !8, i64 48}
!23 = !{!24, !8, i64 16}
!24 = !{!"InitializationData_t", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48}
!25 = !{!26, !12, i64 0}
!26 = !{!"bstrList", !12, i64 0, !12, i64 4, !8, i64 8}
!27 = !{!24, !8, i64 8}
!28 = !{!29, !8, i64 8}
!29 = !{!"tagbstring", !12, i64 0, !12, i64 4, !8, i64 8}
!30 = !{!29, !12, i64 4}
!31 = !{!29, !12, i64 0}
!32 = !{!24, !8, i64 40}
!33 = !{!26, !8, i64 8}
!34 = !{!8, !8, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}
!38 = distinct !{!38, !36}
!39 = distinct !{!39, !36}
!40 = !{!12, !12, i64 0}


; Effective O3 passes: ADCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass