; 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.bstrList = type { i32, i32, ptr }
%struct.MAP_OtherStateType = type { ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 }
%struct.MAP_ConstraintStateType = type { ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 }
%struct.MAP_InputType = type { ptr, ptr, i32, ptr, i32, ptr, i32 }
%struct.MAP_OutputType = type { ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 }

@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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

declare void @set_universal_error_with_message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #2

declare i32 @bstrListDestroy(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @allocate_types_for_nodes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #4 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %struct.tagbstring, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %27 = load ptr, ptr %14, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.bstrList, ptr %27, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !11
  store i32 %29, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  store ptr null, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  br label %30

30:                                               ; preds = %8
  %31 = getelementptr inbounds %struct.tagbstring, ptr %26, i32 0, i32 2
  store ptr @.str.34, ptr %31, align 8, !tbaa !13
  %32 = getelementptr inbounds %struct.tagbstring, ptr %26, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %40

35:                                               ; preds = %30
  %36 = getelementptr inbounds %struct.tagbstring, ptr %26, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  %38 = call i64 @strlen(ptr noundef %37) #6
  %39 = trunc i64 %38 to i32
  br label %41

40:                                               ; preds = %30
  br label %41

41:                                               ; preds = %40, %35
  %42 = phi i32 [ %39, %35 ], [ 0, %40 ]
  %43 = getelementptr inbounds %struct.tagbstring, ptr %26, i32 0, i32 1
  store i32 %42, ptr %43, align 4, !tbaa !15
  %44 = getelementptr inbounds %struct.tagbstring, ptr %26, i32 0, i32 0
  store i32 -1, ptr %44, align 8, !tbaa !16
  br label %45

45:                                               ; preds = %41
  br label %46

46:                                               ; preds = %45
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %157, %46
  %48 = load i32, ptr %17, align 4, !tbaa !9
  %49 = load i32, ptr %24, align 4, !tbaa !9
  %50 = icmp slt i32 %48, %49
  br i1 %50, label %51, label %160

51:                                               ; preds = %47
  store i32 0, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.bstrList, ptr %52, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds ptr, ptr %54, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = call ptr @bsplits(ptr noundef %58, ptr noundef %26)
  store ptr %59, ptr %25, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %51
  br label %61

61:                                               ; preds = %149, %60
  %62 = load i32, ptr %18, align 4, !tbaa !9
  %63 = load ptr, ptr %25, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.bstrList, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !11
  %66 = sub nsw i32 %65, 1
  %67 = icmp slt i32 %62, %66
  br i1 %67, label %68, label %152

68:                                               ; preds = %61
  %69 = load ptr, ptr %25, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.bstrList, ptr %69, i32 0, i32 2
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds ptr, ptr %71, i64 %73
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.tagbstring, ptr %75, i32 0, i32 1
  %77 = load i32, ptr %76, align 4, !tbaa !15
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %149

79:                                               ; preds = %68
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = icmp eq i32 %80, 1
  br i1 %81, label %82, label %146

82:                                               ; preds = %79
  %83 = load ptr, ptr %25, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.bstrList, ptr %83, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds ptr, ptr %85, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = call i32 @biseqcstrcaseless(ptr noundef %89, ptr noundef @.str.47)
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %102, label %92

92:                                               ; preds = %82
  %93 = load ptr, ptr %25, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.bstrList, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !17
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds ptr, ptr %95, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = call i32 @biseqcstrcaseless(ptr noundef %99, ptr noundef @.str.48)
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %105

102:                                              ; preds = %92, %82
  %103 = load i32, ptr %20, align 4, !tbaa !9
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %20, align 4, !tbaa !9
  br label %152

105:                                              ; preds = %92
  %106 = load ptr, ptr %25, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.bstrList, ptr %106, i32 0, i32 2
  %108 = load ptr, ptr %107, align 8, !tbaa !17
  %109 = load i32, ptr %18, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds ptr, ptr %108, i64 %110
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = call i32 @biseqcstrcaseless(ptr noundef %112, ptr noundef @.str.49)
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %118

115:                                              ; preds = %105
  %116 = load i32, ptr %22, align 4, !tbaa !9
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %22, align 4, !tbaa !9
  br label %152

118:                                              ; preds = %105
  %119 = load ptr, ptr %25, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.bstrList, ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %120, align 8, !tbaa !17
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %121, i64 %123
  %125 = load ptr, ptr %124, align 8, !tbaa !5
  %126 = call i32 @biseqcstrcaseless(ptr noundef %125, ptr noundef @.str.50)
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %131

128:                                              ; preds = %118
  %129 = load i32, ptr %21, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %21, align 4, !tbaa !9
  br label %152

131:                                              ; preds = %118
  %132 = load ptr, ptr %15, align 8, !tbaa !5
  %133 = load ptr, ptr %16, align 8, !tbaa !5
  %134 = load ptr, ptr %25, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.bstrList, ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %135, align 8, !tbaa !17
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds ptr, ptr %136, i64 %138
  %140 = load ptr, ptr %139, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.tagbstring, ptr %140, i32 0, i32 2
  %142 = load ptr, ptr %141, align 8, !tbaa !13
  call void (ptr, ptr, i32, ptr, ...) @set_universal_error_with_message(ptr noundef %132, ptr noundef %133, i32 noundef 25, ptr noundef @.str.51, ptr noundef %142)
  br label %143

143:                                              ; preds = %131
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145, %79
  %147 = load i32, ptr %19, align 4, !tbaa !9
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %19, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %146, %68
  %150 = load i32, ptr %18, align 4, !tbaa !9
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %18, align 4, !tbaa !9
  br label %61, !llvm.loop !18

152:                                              ; preds = %128, %115, %102, %61
  br label %153

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153
  %155 = load ptr, ptr %25, align 8, !tbaa !5
  %156 = call i32 @bstrListDestroy(ptr noundef %155)
  store i32 %156, ptr %23, align 4, !tbaa !9
  br label %157

157:                                              ; preds = %154
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %17, align 4, !tbaa !9
  br label %47, !llvm.loop !20

160:                                              ; preds = %47
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %162, i32 0, i32 10
  store i32 %161, ptr %163, align 8, !tbaa !21
  %164 = load i32, ptr %20, align 4, !tbaa !9
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %165, i32 0, i32 12
  store i32 %164, ptr %166, align 8, !tbaa !23
  %167 = load i32, ptr %20, align 4, !tbaa !9
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %168, i32 0, i32 14
  store i32 %167, ptr %169, align 8, !tbaa !24
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %170, i32 0, i32 10
  %172 = load i32, ptr %171, align 8, !tbaa !21
  %173 = sext i32 %172 to i64
  %174 = mul i64 %173, 8
  %175 = call noalias ptr @malloc(i64 noundef %174) #7
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %176, i32 0, i32 9
  store ptr %175, ptr %177, align 8, !tbaa !25
  %178 = load ptr, ptr %11, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %178, i32 0, i32 12
  %180 = load i32, ptr %179, align 8, !tbaa !23
  %181 = sext i32 %180 to i64
  %182 = mul i64 %181, 8
  %183 = call noalias ptr @malloc(i64 noundef %182) #7
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %184, i32 0, i32 11
  store ptr %183, ptr %185, align 8, !tbaa !26
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %186, i32 0, i32 14
  %188 = load i32, ptr %187, align 8, !tbaa !24
  %189 = sext i32 %188 to i64
  %190 = mul i64 %189, 8
  %191 = call noalias ptr @malloc(i64 noundef %190) #7
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %192, i32 0, i32 13
  store ptr %191, ptr %193, align 8, !tbaa !27
  %194 = load i32, ptr %22, align 4, !tbaa !9
  %195 = load ptr, ptr %11, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %195, i32 0, i32 22
  store i32 %194, ptr %196, align 8, !tbaa !28
  %197 = load i32, ptr %22, align 4, !tbaa !9
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %198, i32 0, i32 24
  store i32 %197, ptr %199, align 8, !tbaa !29
  %200 = load i32, ptr %22, align 4, !tbaa !9
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %201, i32 0, i32 26
  store i32 %200, ptr %202, align 8, !tbaa !30
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %203, i32 0, i32 22
  %205 = load i32, ptr %204, align 8, !tbaa !28
  %206 = sext i32 %205 to i64
  %207 = mul i64 %206, 8
  %208 = call noalias ptr @malloc(i64 noundef %207) #7
  %209 = load ptr, ptr %11, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %209, i32 0, i32 21
  store ptr %208, ptr %210, align 8, !tbaa !31
  %211 = load ptr, ptr %11, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %211, i32 0, i32 24
  %213 = load i32, ptr %212, align 8, !tbaa !29
  %214 = sext i32 %213 to i64
  %215 = mul i64 %214, 8
  %216 = call noalias ptr @malloc(i64 noundef %215) #7
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %217, i32 0, i32 23
  store ptr %216, ptr %218, align 8, !tbaa !32
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %219, i32 0, i32 26
  %221 = load i32, ptr %220, align 8, !tbaa !30
  %222 = sext i32 %221 to i64
  %223 = mul i64 %222, 8
  %224 = call noalias ptr @malloc(i64 noundef %223) #7
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %225, i32 0, i32 25
  store ptr %224, ptr %226, align 8, !tbaa !33
  %227 = load i32, ptr %20, align 4, !tbaa !9
  %228 = load ptr, ptr %11, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %228, i32 0, i32 28
  store i32 %227, ptr %229, align 8, !tbaa !34
  %230 = load i32, ptr %20, align 4, !tbaa !9
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %231, i32 0, i32 30
  store i32 %230, ptr %232, align 8, !tbaa !35
  %233 = load i32, ptr %20, align 4, !tbaa !9
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %234, i32 0, i32 32
  store i32 %233, ptr %235, align 8, !tbaa !36
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %236, i32 0, i32 28
  %238 = load i32, ptr %237, align 8, !tbaa !34
  %239 = sext i32 %238 to i64
  %240 = mul i64 %239, 8
  %241 = call noalias ptr @malloc(i64 noundef %240) #7
  %242 = load ptr, ptr %11, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %242, i32 0, i32 27
  store ptr %241, ptr %243, align 8, !tbaa !37
  %244 = load ptr, ptr %11, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %244, i32 0, i32 30
  %246 = load i32, ptr %245, align 8, !tbaa !35
  %247 = sext i32 %246 to i64
  %248 = mul i64 %247, 8
  %249 = call noalias ptr @malloc(i64 noundef %248) #7
  %250 = load ptr, ptr %11, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %250, i32 0, i32 29
  store ptr %249, ptr %251, align 8, !tbaa !38
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %252, i32 0, i32 32
  %254 = load i32, ptr %253, align 8, !tbaa !36
  %255 = sext i32 %254 to i64
  %256 = mul i64 %255, 8
  %257 = call noalias ptr @malloc(i64 noundef %256) #7
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %258, i32 0, i32 31
  store ptr %257, ptr %259, align 8, !tbaa !39
  %260 = load i32, ptr %22, align 4, !tbaa !9
  %261 = load ptr, ptr %10, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %261, i32 0, i32 6
  store i32 %260, ptr %262, align 8, !tbaa !40
  %263 = load i32, ptr %22, align 4, !tbaa !9
  %264 = load ptr, ptr %10, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %264, i32 0, i32 8
  store i32 %263, ptr %265, align 8, !tbaa !42
  %266 = load i32, ptr %22, align 4, !tbaa !9
  %267 = load ptr, ptr %10, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %267, i32 0, i32 10
  store i32 %266, ptr %268, align 8, !tbaa !43
  %269 = load ptr, ptr %10, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %269, i32 0, i32 6
  %271 = load i32, ptr %270, align 8, !tbaa !40
  %272 = sext i32 %271 to i64
  %273 = mul i64 %272, 8
  %274 = call noalias ptr @malloc(i64 noundef %273) #7
  %275 = load ptr, ptr %10, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %275, i32 0, i32 5
  store ptr %274, ptr %276, align 8, !tbaa !44
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %277, i32 0, i32 8
  %279 = load i32, ptr %278, align 8, !tbaa !42
  %280 = sext i32 %279 to i64
  %281 = mul i64 %280, 8
  %282 = call noalias ptr @malloc(i64 noundef %281) #7
  %283 = load ptr, ptr %10, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %283, i32 0, i32 7
  store ptr %282, ptr %284, align 8, !tbaa !45
  %285 = load ptr, ptr %10, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %285, i32 0, i32 10
  %287 = load i32, ptr %286, align 8, !tbaa !43
  %288 = sext i32 %287 to i64
  %289 = mul i64 %288, 8
  %290 = call noalias ptr @malloc(i64 noundef %289) #7
  %291 = load ptr, ptr %10, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %291, i32 0, i32 9
  store ptr %290, ptr %292, align 8, !tbaa !46
  %293 = load i32, ptr %21, align 4, !tbaa !9
  %294 = load ptr, ptr %9, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.MAP_InputType, ptr %294, i32 0, i32 2
  store i32 %293, ptr %295, align 8, !tbaa !47
  %296 = load i32, ptr %21, align 4, !tbaa !9
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.MAP_InputType, ptr %297, i32 0, i32 4
  store i32 %296, ptr %298, align 8, !tbaa !49
  %299 = load i32, ptr %21, align 4, !tbaa !9
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.MAP_InputType, ptr %300, i32 0, i32 6
  store i32 %299, ptr %301, align 8, !tbaa !50
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.MAP_InputType, ptr %302, i32 0, i32 2
  %304 = load i32, ptr %303, align 8, !tbaa !47
  %305 = sext i32 %304 to i64
  %306 = mul i64 %305, 8
  %307 = call noalias ptr @malloc(i64 noundef %306) #7
  %308 = load ptr, ptr %9, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.MAP_InputType, ptr %308, i32 0, i32 1
  store ptr %307, ptr %309, align 8, !tbaa !51
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.MAP_InputType, ptr %310, i32 0, i32 4
  %312 = load i32, ptr %311, align 8, !tbaa !49
  %313 = sext i32 %312 to i64
  %314 = mul i64 %313, 8
  %315 = call noalias ptr @malloc(i64 noundef %314) #7
  %316 = load ptr, ptr %9, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.MAP_InputType, ptr %316, i32 0, i32 3
  store ptr %315, ptr %317, align 8, !tbaa !52
  %318 = load ptr, ptr %9, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.MAP_InputType, ptr %318, i32 0, i32 6
  %320 = load i32, ptr %319, align 8, !tbaa !50
  %321 = sext i32 %320 to i64
  %322 = mul i64 %321, 8
  %323 = call noalias ptr @malloc(i64 noundef %322) #7
  %324 = load ptr, ptr %9, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.MAP_InputType, ptr %324, i32 0, i32 5
  store ptr %323, ptr %325, align 8, !tbaa !53
  %326 = load i32, ptr %21, align 4, !tbaa !9
  %327 = load ptr, ptr %12, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.MAP_OutputType, ptr %327, i32 0, i32 2
  store i32 %326, ptr %328, align 8, !tbaa !54
  %329 = load i32, ptr %21, align 4, !tbaa !9
  %330 = load ptr, ptr %12, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.MAP_OutputType, ptr %330, i32 0, i32 4
  store i32 %329, ptr %331, align 8, !tbaa !56
  %332 = load i32, ptr %21, align 4, !tbaa !9
  %333 = load ptr, ptr %12, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.MAP_OutputType, ptr %333, i32 0, i32 6
  store i32 %332, ptr %334, align 8, !tbaa !57
  %335 = load ptr, ptr %12, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.MAP_OutputType, ptr %335, i32 0, i32 2
  %337 = load i32, ptr %336, align 8, !tbaa !54
  %338 = sext i32 %337 to i64
  %339 = mul i64 %338, 8
  %340 = call noalias ptr @malloc(i64 noundef %339) #7
  %341 = load ptr, ptr %12, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.MAP_OutputType, ptr %341, i32 0, i32 1
  store ptr %340, ptr %342, align 8, !tbaa !58
  %343 = load ptr, ptr %12, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.MAP_OutputType, ptr %343, i32 0, i32 4
  %345 = load i32, ptr %344, align 8, !tbaa !56
  %346 = sext i32 %345 to i64
  %347 = mul i64 %346, 8
  %348 = call noalias ptr @malloc(i64 noundef %347) #7
  %349 = load ptr, ptr %12, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.MAP_OutputType, ptr %349, i32 0, i32 3
  store ptr %348, ptr %350, align 8, !tbaa !59
  %351 = load ptr, ptr %12, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.MAP_OutputType, ptr %351, i32 0, i32 6
  %353 = load i32, ptr %352, align 8, !tbaa !57
  %354 = sext i32 %353 to i64
  %355 = mul i64 %354, 8
  %356 = call noalias ptr @malloc(i64 noundef %355) #7
  %357 = load ptr, ptr %12, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.MAP_OutputType, ptr %357, i32 0, i32 5
  store ptr %356, ptr %358, align 8, !tbaa !60
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  ret i32 0
}

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

!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 0}
!12 = !{!"bstrList", !10, i64 0, !10, i64 4, !6, i64 8}
!13 = !{!14, !6, i64 8}
!14 = !{!"tagbstring", !10, i64 0, !10, i64 4, !6, i64 8}
!15 = !{!14, !10, i64 4}
!16 = !{!14, !10, i64 0}
!17 = !{!12, !6, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!22, !10, i64 80}
!22 = !{!"MAP_OtherStateType", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !10, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !10, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !10, i64 208, !6, i64 216, !10, i64 224, !6, i64 232, !10, i64 240, !6, i64 248, !10, i64 256}
!23 = !{!22, !10, i64 96}
!24 = !{!22, !10, i64 112}
!25 = !{!22, !6, i64 72}
!26 = !{!22, !6, i64 88}
!27 = !{!22, !6, i64 104}
!28 = !{!22, !10, i64 176}
!29 = !{!22, !10, i64 192}
!30 = !{!22, !10, i64 208}
!31 = !{!22, !6, i64 168}
!32 = !{!22, !6, i64 184}
!33 = !{!22, !6, i64 200}
!34 = !{!22, !10, i64 224}
!35 = !{!22, !10, i64 240}
!36 = !{!22, !10, i64 256}
!37 = !{!22, !6, i64 216}
!38 = !{!22, !6, i64 232}
!39 = !{!22, !6, i64 248}
!40 = !{!41, !10, i64 48}
!41 = !{!"MAP_ConstraintStateType", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80}
!42 = !{!41, !10, i64 64}
!43 = !{!41, !10, i64 80}
!44 = !{!41, !6, i64 40}
!45 = !{!41, !6, i64 56}
!46 = !{!41, !6, i64 72}
!47 = !{!48, !10, i64 16}
!48 = !{!"MAP_InputType", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48}
!49 = !{!48, !10, i64 32}
!50 = !{!48, !10, i64 48}
!51 = !{!48, !6, i64 8}
!52 = !{!48, !6, i64 24}
!53 = !{!48, !6, i64 40}
!54 = !{!55, !10, i64 16}
!55 = !{!"MAP_OutputType", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80}
!56 = !{!55, !10, i64 32}
!57 = !{!55, !10, i64 48}
!58 = !{!55, !6, i64 8}
!59 = !{!55, !6, i64 24}
!60 = !{!55, !6, i64 40}


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

@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(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

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

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

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

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

declare i32 @bstrListDestroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @allocate_types_for_nodes(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readnone %4, ptr nocapture noundef readonly %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #4 {
  %9 = alloca %struct.tagbstring, align 8
  %10 = load i32, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  %11 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr @.str.34, ptr %11, align 8, !tbaa !11
  %12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.34) #6
  %13 = trunc i64 %12 to i32
  %14 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 %13, ptr %14, align 4, !tbaa !13
  store i32 -1, ptr %9, align 8, !tbaa !14
  %15 = icmp sgt i32 %10, 0
  br i1 %15, label %.lr.ph118, label %._crit_edge

.lr.ph118:                                        ; preds = %8
  %16 = getelementptr inbounds i8, ptr %5, i64 8
  %wide.trip.count = zext nneg i32 %10 to i64
  br label %17

17:                                               ; preds = %.lr.ph118, %.loopexit
  %indvars.iv122 = phi i64 [ 0, %.lr.ph118 ], [ %indvars.iv.next123, %.loopexit ]
  %.0100116 = phi i32 [ 0, %.lr.ph118 ], [ %.1, %.loopexit ]
  %.0101115 = phi i32 [ 0, %.lr.ph118 ], [ %.1102, %.loopexit ]
  %.0103114 = phi i32 [ 0, %.lr.ph118 ], [ %.1104, %.loopexit ]
  %18 = load ptr, ptr %16, align 8, !tbaa !15
  %19 = getelementptr inbounds ptr, ptr %18, i64 %indvars.iv122
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  %21 = call ptr @bsplits(ptr noundef %20, ptr noundef nonnull %9) #5
  %22 = load i32, ptr %21, align 8, !tbaa !5
  %23 = icmp sgt i32 %22, 1
  br i1 %23, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %17
  %24 = getelementptr inbounds i8, ptr %21, i64 8
  br label %25

25:                                               ; preds = %.lr.ph, %65
  %.pre125 = phi i32 [ %22, %.lr.ph ], [ %.pre126, %65 ]
  %26 = phi i32 [ %22, %.lr.ph ], [ %66, %65 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %65 ]
  %.0105113 = phi i32 [ 0, %.lr.ph ], [ %.1106, %65 ]
  %27 = load ptr, ptr %24, align 8, !tbaa !15
  %28 = getelementptr inbounds ptr, ptr %27, i64 %indvars.iv
  %29 = load ptr, ptr %28, align 8, !tbaa !16
  %30 = getelementptr inbounds i8, ptr %29, i64 4
  %31 = load i32, ptr %30, align 4, !tbaa !13
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %65, label %32

32:                                               ; preds = %25
  %33 = icmp eq i32 %.0105113, 1
  br i1 %33, label %34, label %63

34:                                               ; preds = %32
  %35 = call i32 @biseqcstrcaseless(ptr noundef nonnull %29, ptr noundef nonnull @.str.47) #5
  %.not108 = icmp eq i32 %35, 0
  br i1 %.not108, label %36, label %41

36:                                               ; preds = %34
  %37 = load ptr, ptr %24, align 8, !tbaa !15
  %38 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = call i32 @biseqcstrcaseless(ptr noundef %39, ptr noundef nonnull @.str.48) #5
  %.not109 = icmp eq i32 %40, 0
  br i1 %.not109, label %43, label %41

41:                                               ; preds = %36, %34
  %42 = add nsw i32 %.0103114, 1
  br label %.loopexit

43:                                               ; preds = %36
  %44 = load ptr, ptr %24, align 8, !tbaa !15
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  %47 = call i32 @biseqcstrcaseless(ptr noundef %46, ptr noundef nonnull @.str.49) #5
  %.not110 = icmp eq i32 %47, 0
  br i1 %.not110, label %50, label %48

48:                                               ; preds = %43
  %49 = add nsw i32 %.0100116, 1
  br label %.loopexit

50:                                               ; preds = %43
  %51 = load ptr, ptr %24, align 8, !tbaa !15
  %52 = getelementptr inbounds ptr, ptr %51, i64 %indvars.iv
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = call i32 @biseqcstrcaseless(ptr noundef %53, ptr noundef nonnull @.str.50) #5
  %.not111 = icmp eq i32 %54, 0
  br i1 %.not111, label %57, label %55

55:                                               ; preds = %50
  %56 = add nsw i32 %.0101115, 1
  br label %.loopexit

57:                                               ; preds = %50
  %58 = load ptr, ptr %24, align 8, !tbaa !15
  %59 = getelementptr inbounds ptr, ptr %58, i64 %indvars.iv
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @set_universal_error_with_message(ptr noundef %6, ptr noundef %7, i32 noundef 25, ptr noundef nonnull @.str.51, ptr noundef %62) #5
  %.pre.pre = load i32, ptr %21, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %57, %32
  %.pre = phi i32 [ %.pre.pre, %57 ], [ %.pre125, %32 ]
  %64 = add nsw i32 %.0105113, 1
  br label %65

65:                                               ; preds = %63, %25
  %.pre126 = phi i32 [ %.pre, %63 ], [ %.pre125, %25 ]
  %66 = phi i32 [ %.pre, %63 ], [ %26, %25 ]
  %.1106 = phi i32 [ %64, %63 ], [ %.0105113, %25 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %67 = add nsw i32 %66, -1
  %68 = sext i32 %67 to i64
  %69 = icmp slt i64 %indvars.iv.next, %68
  br i1 %69, label %25, label %.loopexit, !llvm.loop !17

.loopexit:                                        ; preds = %65, %17, %55, %48, %41
  %.1104 = phi i32 [ %42, %41 ], [ %.0103114, %48 ], [ %.0103114, %55 ], [ %.0103114, %17 ], [ %.0103114, %65 ]
  %.1102 = phi i32 [ %.0101115, %41 ], [ %.0101115, %48 ], [ %56, %55 ], [ %.0101115, %17 ], [ %.0101115, %65 ]
  %.1 = phi i32 [ %.0100116, %41 ], [ %49, %48 ], [ %.0100116, %55 ], [ %.0100116, %17 ], [ %.0100116, %65 ]
  %70 = call i32 @bstrListDestroy(ptr noundef nonnull %21) #5
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next123, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %17, !llvm.loop !19

._crit_edge:                                      ; preds = %.loopexit, %8
  %.0103.lcssa = phi i32 [ 0, %8 ], [ %.1104, %.loopexit ]
  %.0101.lcssa = phi i32 [ 0, %8 ], [ %.1102, %.loopexit ]
  %.0100.lcssa = phi i32 [ 0, %8 ], [ %.1, %.loopexit ]
  %71 = getelementptr inbounds i8, ptr %2, i64 80
  store i32 %.0103.lcssa, ptr %71, align 8, !tbaa !20
  %72 = getelementptr inbounds i8, ptr %2, i64 96
  store i32 %.0103.lcssa, ptr %72, align 8, !tbaa !22
  %73 = getelementptr inbounds i8, ptr %2, i64 112
  store i32 %.0103.lcssa, ptr %73, align 8, !tbaa !23
  %74 = sext i32 %.0103.lcssa to i64
  %75 = shl nsw i64 %74, 3
  %76 = call noalias ptr @malloc(i64 noundef %75) #7
  %77 = getelementptr inbounds i8, ptr %2, i64 72
  store ptr %76, ptr %77, align 8, !tbaa !24
  %78 = call noalias ptr @malloc(i64 noundef %75) #7
  %79 = getelementptr inbounds i8, ptr %2, i64 88
  store ptr %78, ptr %79, align 8, !tbaa !25
  %80 = call noalias ptr @malloc(i64 noundef %75) #7
  %81 = getelementptr inbounds i8, ptr %2, i64 104
  store ptr %80, ptr %81, align 8, !tbaa !26
  %82 = getelementptr inbounds i8, ptr %2, i64 176
  store i32 %.0100.lcssa, ptr %82, align 8, !tbaa !27
  %83 = getelementptr inbounds i8, ptr %2, i64 192
  store i32 %.0100.lcssa, ptr %83, align 8, !tbaa !28
  %84 = getelementptr inbounds i8, ptr %2, i64 208
  store i32 %.0100.lcssa, ptr %84, align 8, !tbaa !29
  %85 = sext i32 %.0100.lcssa to i64
  %86 = shl nsw i64 %85, 3
  %87 = call noalias ptr @malloc(i64 noundef %86) #7
  %88 = getelementptr inbounds i8, ptr %2, i64 168
  store ptr %87, ptr %88, align 8, !tbaa !30
  %89 = call noalias ptr @malloc(i64 noundef %86) #7
  %90 = getelementptr inbounds i8, ptr %2, i64 184
  store ptr %89, ptr %90, align 8, !tbaa !31
  %91 = call noalias ptr @malloc(i64 noundef %86) #7
  %92 = getelementptr inbounds i8, ptr %2, i64 200
  store ptr %91, ptr %92, align 8, !tbaa !32
  %93 = getelementptr inbounds i8, ptr %2, i64 224
  store i32 %.0103.lcssa, ptr %93, align 8, !tbaa !33
  %94 = getelementptr inbounds i8, ptr %2, i64 240
  store i32 %.0103.lcssa, ptr %94, align 8, !tbaa !34
  %95 = getelementptr inbounds i8, ptr %2, i64 256
  store i32 %.0103.lcssa, ptr %95, align 8, !tbaa !35
  %96 = call noalias ptr @malloc(i64 noundef %75) #7
  %97 = getelementptr inbounds i8, ptr %2, i64 216
  store ptr %96, ptr %97, align 8, !tbaa !36
  %98 = call noalias ptr @malloc(i64 noundef %75) #7
  %99 = getelementptr inbounds i8, ptr %2, i64 232
  store ptr %98, ptr %99, align 8, !tbaa !37
  %100 = call noalias ptr @malloc(i64 noundef %75) #7
  %101 = getelementptr inbounds i8, ptr %2, i64 248
  store ptr %100, ptr %101, align 8, !tbaa !38
  %102 = getelementptr inbounds i8, ptr %1, i64 48
  store i32 %.0100.lcssa, ptr %102, align 8, !tbaa !39
  %103 = getelementptr inbounds i8, ptr %1, i64 64
  store i32 %.0100.lcssa, ptr %103, align 8, !tbaa !41
  %104 = getelementptr inbounds i8, ptr %1, i64 80
  store i32 %.0100.lcssa, ptr %104, align 8, !tbaa !42
  %105 = call noalias ptr @malloc(i64 noundef %86) #7
  %106 = getelementptr inbounds i8, ptr %1, i64 40
  store ptr %105, ptr %106, align 8, !tbaa !43
  %107 = call noalias ptr @malloc(i64 noundef %86) #7
  %108 = getelementptr inbounds i8, ptr %1, i64 56
  store ptr %107, ptr %108, align 8, !tbaa !44
  %109 = call noalias ptr @malloc(i64 noundef %86) #7
  %110 = getelementptr inbounds i8, ptr %1, i64 72
  store ptr %109, ptr %110, align 8, !tbaa !45
  %111 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %.0101.lcssa, ptr %111, align 8, !tbaa !46
  %112 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %.0101.lcssa, ptr %112, align 8, !tbaa !48
  %113 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %.0101.lcssa, ptr %113, align 8, !tbaa !49
  %114 = sext i32 %.0101.lcssa to i64
  %115 = shl nsw i64 %114, 3
  %116 = call noalias ptr @malloc(i64 noundef %115) #7
  %117 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %116, ptr %117, align 8, !tbaa !50
  %118 = call noalias ptr @malloc(i64 noundef %115) #7
  %119 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %118, ptr %119, align 8, !tbaa !51
  %120 = call noalias ptr @malloc(i64 noundef %115) #7
  %121 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %120, ptr %121, align 8, !tbaa !52
  %122 = getelementptr inbounds i8, ptr %3, i64 16
  store i32 %.0101.lcssa, ptr %122, align 8, !tbaa !53
  %123 = getelementptr inbounds i8, ptr %3, i64 32
  store i32 %.0101.lcssa, ptr %123, align 8, !tbaa !55
  %124 = getelementptr inbounds i8, ptr %3, i64 48
  store i32 %.0101.lcssa, ptr %124, align 8, !tbaa !56
  %125 = call noalias ptr @malloc(i64 noundef %115) #7
  %126 = getelementptr inbounds i8, ptr %3, i64 8
  store ptr %125, ptr %126, align 8, !tbaa !57
  %127 = call noalias ptr @malloc(i64 noundef %115) #7
  %128 = getelementptr inbounds i8, ptr %3, i64 24
  store ptr %127, ptr %128, align 8, !tbaa !58
  %129 = call noalias ptr @malloc(i64 noundef %115) #7
  %130 = getelementptr inbounds i8, ptr %3, i64 40
  store ptr %129, ptr %130, align 8, !tbaa !59
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  ret i32 0
}

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 = { 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }
attributes #7 = { nounwind allocsize(0) }

!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, !7, i64 0}
!6 = !{!"bstrList", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"tagbstring", !7, i64 0, !7, i64 4, !10, i64 8}
!13 = !{!12, !7, i64 4}
!14 = !{!12, !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!10, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !7, i64 80}
!21 = !{!"MAP_OtherStateType", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !10, i64 120, !7, i64 128, !10, i64 136, !7, i64 144, !10, i64 152, !7, i64 160, !10, i64 168, !7, i64 176, !10, i64 184, !7, i64 192, !10, i64 200, !7, i64 208, !10, i64 216, !7, i64 224, !10, i64 232, !7, i64 240, !10, i64 248, !7, i64 256}
!22 = !{!21, !7, i64 96}
!23 = !{!21, !7, i64 112}
!24 = !{!21, !10, i64 72}
!25 = !{!21, !10, i64 88}
!26 = !{!21, !10, i64 104}
!27 = !{!21, !7, i64 176}
!28 = !{!21, !7, i64 192}
!29 = !{!21, !7, i64 208}
!30 = !{!21, !10, i64 168}
!31 = !{!21, !10, i64 184}
!32 = !{!21, !10, i64 200}
!33 = !{!21, !7, i64 224}
!34 = !{!21, !7, i64 240}
!35 = !{!21, !7, i64 256}
!36 = !{!21, !10, i64 216}
!37 = !{!21, !10, i64 232}
!38 = !{!21, !10, i64 248}
!39 = !{!40, !7, i64 48}
!40 = !{!"MAP_ConstraintStateType", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80}
!41 = !{!40, !7, i64 64}
!42 = !{!40, !7, i64 80}
!43 = !{!40, !10, i64 40}
!44 = !{!40, !10, i64 56}
!45 = !{!40, !10, i64 72}
!46 = !{!47, !7, i64 16}
!47 = !{!"MAP_InputType", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48}
!48 = !{!47, !7, i64 32}
!49 = !{!47, !7, i64 48}
!50 = !{!47, !10, i64 8}
!51 = !{!47, !10, i64 24}
!52 = !{!47, !10, i64 40}
!53 = !{!54, !7, i64 16}
!54 = !{!"MAP_OutputType", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80}
!55 = !{!54, !7, i64 32}
!56 = !{!54, !7, i64 48}
!57 = !{!54, !10, i64 8}
!58 = !{!54, !10, i64 24}
!59 = !{!54, !10, i64 40}


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