; LLVM IR from Discngine/fpocket :: src (voronoi)

; 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.s_fparams = type { [2000 x i8], [2000 x i8], [2000 x i8], [8000 x i8], ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, i8, i8, i32, i32, i16, i32, i32, i32, i16, i32, i32, i32, i16, float, float, float, float, float, [20 x ptr], i16, i16, [20 x ptr], i32, [10 x i8] }
%struct.s_lst_vvertice = type { ptr, ptr, ptr, i32, ptr, i32, i32 }
%struct.s_vvertice = type { i32, i32, i32, i32, i32, float, float, float, float, i32, i32, [4 x i32], [4 x ptr], [3 x float], float }
%struct.s_atm = type { i32, float, float, float, float, float, float, float, [5 x i8], [7 x i8], [16 x i8], [16 x i8], [3 x i8], [8 x i8], i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, i8, i8, float, float, float, float, i16, ptr, i32 }
%struct.s_pdb = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, float, float, float, float, float, float, [83 x i8], [500 x i8], float, float, float, i32, i32 }

@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2

declare ptr @my_malloc(i64 noundef) #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @fill_vvertices(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8, ptr noundef %9) #5 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca [3 x float], align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca [4 x i32], align 16
  %35 = alloca ptr, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store i32 %3, ptr %14, align 4, !tbaa !9
  store ptr %4, ptr %15, align 8, !tbaa !5
  store float %5, ptr %16, align 4, !tbaa !11
  store float %6, ptr %17, align 4, !tbaa !11
  store float %7, ptr %18, align 4, !tbaa !11
  store float %8, ptr %19, align 4, !tbaa !11
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store ptr null, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store ptr null, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store ptr null, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %41 = load ptr, ptr %15, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.s_fparams, ptr %41, i32 0, i32 21
  %43 = load i32, ptr %42, align 8, !tbaa !13
  store i32 %43, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %44 = load ptr, ptr %15, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.s_fparams, ptr %44, i32 0, i32 27
  %46 = load float, ptr %45, align 8, !tbaa !16
  store float %46, ptr %25, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %47 = load ptr, ptr %15, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.s_fparams, ptr %47, i32 0, i32 29
  %49 = load float, ptr %48, align 8, !tbaa !17
  store float %49, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #7
  call void @llvm.memset.p0.i64(ptr align 4 %28, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 255, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  store i32 0, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  store i32 0, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  %50 = load i32, ptr %31, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call ptr @llvm.stacksave.p0()
  store ptr %52, ptr %35, align 8
  %53 = alloca i8, i64 %51, align 16
  store i64 %51, ptr %36, align 8
  %54 = load i32, ptr %31, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = alloca i8, i64 %55, align 16
  store i64 %55, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %57 = load i32, ptr %31, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = mul i64 1, %58
  %60 = call ptr @my_malloc(i64 noundef %59)
  store ptr %60, ptr %38, align 8, !tbaa !5
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = call noalias ptr @fopen(ptr noundef %61, ptr noundef @.str.9)
  store ptr %62, ptr %21, align 8, !tbaa !5
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = call noalias ptr @fopen(ptr noundef %63, ptr noundef @.str.9)
  store ptr %64, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  store ptr null, ptr %39, align 8, !tbaa !5
  %65 = load i32, ptr %31, align 4, !tbaa !9
  %66 = load ptr, ptr %21, align 8, !tbaa !5
  %67 = call ptr @fgets(ptr noundef %53, i32 noundef %65, ptr noundef %66)
  store ptr %67, ptr %39, align 8, !tbaa !5
  %68 = load i32, ptr %31, align 4, !tbaa !9
  %69 = load ptr, ptr %21, align 8, !tbaa !5
  %70 = call ptr @fgets(ptr noundef %53, i32 noundef %68, ptr noundef %69)
  store ptr %70, ptr %39, align 8, !tbaa !5
  %71 = load i32, ptr %31, align 4, !tbaa !9
  %72 = load ptr, ptr %22, align 8, !tbaa !5
  %73 = call ptr @fgets(ptr noundef %56, i32 noundef %71, ptr noundef %72)
  store ptr %73, ptr %39, align 8, !tbaa !5
  %74 = load i32, ptr %31, align 4, !tbaa !9
  %75 = load ptr, ptr %22, align 8, !tbaa !5
  %76 = call ptr @fgets(ptr noundef %56, i32 noundef %74, ptr noundef %75)
  store ptr %76, ptr %39, align 8, !tbaa !5
  %77 = load ptr, ptr %39, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %80, label %79

79:                                               ; preds = %10
  store i32 1, ptr %40, align 4
  br label %325

80:                                               ; preds = %10
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.s_lst_vvertice, ptr %81, i32 0, i32 5
  %83 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %53, ptr noundef @.str.10, ptr noundef %82) #7
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.s_lst_vvertice, ptr %84, i32 0, i32 5
  %86 = load i32, ptr %85, align 8, !tbaa !18
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.s_lst_vvertice, ptr %87, i32 0, i32 6
  store i32 %86, ptr %88, align 4, !tbaa !20
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.s_lst_vvertice, ptr %89, i32 0, i32 5
  %91 = load i32, ptr %90, align 8, !tbaa !18
  %92 = sext i32 %91 to i64
  %93 = mul i64 %92, 4
  %94 = call ptr @my_malloc(i64 noundef %93)
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.s_lst_vvertice, ptr %95, i32 0, i32 4
  store ptr %94, ptr %96, align 8, !tbaa !21
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %110, %80
  %98 = load i32, ptr %29, align 4, !tbaa !9
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.s_lst_vvertice, ptr %99, i32 0, i32 5
  %101 = load i32, ptr %100, align 8, !tbaa !18
  %102 = icmp slt i32 %98, %101
  br i1 %102, label %103, label %113

103:                                              ; preds = %97
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.s_lst_vvertice, ptr %104, i32 0, i32 4
  %106 = load ptr, ptr %105, align 8, !tbaa !21
  %107 = load i32, ptr %29, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i32, ptr %106, i64 %108
  store i32 -1, ptr %109, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %103
  %111 = load i32, ptr %29, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %29, align 4, !tbaa !9
  br label %97, !llvm.loop !22

113:                                              ; preds = %97
  %114 = call ptr @my_calloc(i64 noundef 1000000, i64 noundef 112)
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.s_lst_vvertice, ptr %115, i32 0, i32 0
  store ptr %114, ptr %116, align 8, !tbaa !24
  %117 = call ptr @my_calloc(i64 noundef 1000000, i64 noundef 8)
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.s_lst_vvertice, ptr %118, i32 0, i32 1
  store ptr %117, ptr %119, align 8, !tbaa !25
  %120 = load ptr, ptr %38, align 8, !tbaa !5
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.s_lst_vvertice, ptr %121, i32 0, i32 5
  %123 = load i32, ptr %122, align 8, !tbaa !18
  %124 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %120, ptr noundef @.str.10, i32 noundef %123) #7
  %125 = load ptr, ptr %38, align 8, !tbaa !5
  %126 = call ptr @strcat(ptr noundef %125, ptr noundef @.str.11) #7
  br label %127

127:                                              ; preds = %138, %113
  %128 = load i32, ptr %31, align 4, !tbaa !9
  %129 = load ptr, ptr %22, align 8, !tbaa !5
  %130 = call ptr @fgets(ptr noundef %56, i32 noundef %128, ptr noundef %129)
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %136

132:                                              ; preds = %127
  %133 = load ptr, ptr %38, align 8, !tbaa !5
  %134 = call i32 @strcmp(ptr noundef %133, ptr noundef %56) #8
  %135 = icmp ne i32 %134, 0
  br label %136

136:                                              ; preds = %132, %127
  %137 = phi i1 [ false, %127 ], [ %135, %132 ]
  br i1 %137, label %138, label %139

138:                                              ; preds = %136
  br label %127, !llvm.loop !26

139:                                              ; preds = %136
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %315, %139
  %141 = load i32, ptr %31, align 4, !tbaa !9
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  %143 = call ptr @fgets(ptr noundef %53, i32 noundef %141, ptr noundef %142)
  %144 = icmp ne ptr %143, null
  br i1 %144, label %145, label %316

145:                                              ; preds = %140
  %146 = load i32, ptr %31, align 4, !tbaa !9
  %147 = load ptr, ptr %22, align 8, !tbaa !5
  %148 = call ptr @fgets(ptr noundef %56, i32 noundef %146, ptr noundef %147)
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %315

150:                                              ; preds = %145
  %151 = call i32 @strcmp(ptr noundef @.str.11, ptr noundef %53) #8
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %314

153:                                              ; preds = %150
  %154 = call i32 @strcmp(ptr noundef @.str.11, ptr noundef %56) #8
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %314

156:                                              ; preds = %153
  %157 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 0
  %158 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 1
  %159 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 2
  %160 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %53, ptr noundef @.str.12, ptr noundef %157, ptr noundef %158, ptr noundef %159) #7
  %161 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 0
  %162 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 1
  %163 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 2
  %164 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 3
  %165 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %56, ptr noundef @.str.13, ptr noundef %161, ptr noundef %162, ptr noundef %163, ptr noundef %164) #7
  %166 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 0
  %167 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 0
  %168 = load ptr, ptr %13, align 8, !tbaa !5
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = load float, ptr %16, align 4, !tbaa !11
  %172 = load float, ptr %17, align 4, !tbaa !11
  %173 = load float, ptr %18, align 4, !tbaa !11
  %174 = load float, ptr %19, align 4, !tbaa !11
  %175 = load ptr, ptr %20, align 8, !tbaa !5
  %176 = call float @testVvertice(ptr noundef %166, ptr noundef %167, ptr noundef %168, ptr noundef %169, ptr noundef %170, float noundef %171, float noundef %172, float noundef %173, float noundef %174, ptr noundef %175)
  store float %176, ptr %27, align 4, !tbaa !11
  %177 = load float, ptr %27, align 4, !tbaa !11
  %178 = fcmp ogt float %177, 0.000000e+00
  br i1 %178, label %179, label %311

179:                                              ; preds = %156
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.s_lst_vvertice, ptr %180, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8, !tbaa !24
  %183 = load i32, ptr %32, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds %struct.s_vvertice, ptr %182, i64 %184
  store ptr %185, ptr %23, align 8, !tbaa !5
  %186 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 0
  %187 = load float, ptr %186, align 4, !tbaa !11
  %188 = load float, ptr %16, align 4, !tbaa !11
  %189 = fsub float %187, %188
  %190 = load ptr, ptr %23, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.s_vvertice, ptr %190, i32 0, i32 6
  store float %189, ptr %191, align 8, !tbaa !27
  %192 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 1
  %193 = load float, ptr %192, align 4, !tbaa !11
  %194 = load float, ptr %17, align 4, !tbaa !11
  %195 = fsub float %193, %194
  %196 = load ptr, ptr %23, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.s_vvertice, ptr %196, i32 0, i32 7
  store float %195, ptr %197, align 4, !tbaa !29
  %198 = getelementptr inbounds [3 x float], ptr %28, i64 0, i64 2
  %199 = load float, ptr %198, align 4, !tbaa !11
  %200 = load float, ptr %18, align 4, !tbaa !11
  %201 = fsub float %199, %200
  %202 = load ptr, ptr %23, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.s_vvertice, ptr %202, i32 0, i32 8
  store float %201, ptr %203, align 8, !tbaa !30
  %204 = load float, ptr %27, align 4, !tbaa !11
  %205 = load ptr, ptr %23, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.s_vvertice, ptr %205, i32 0, i32 5
  store float %204, ptr %206, align 4, !tbaa !31
  %207 = load ptr, ptr %23, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.s_vvertice, ptr %207, i32 0, i32 9
  store i32 -1, ptr %208, align 4, !tbaa !32
  %209 = load ptr, ptr %23, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.s_vvertice, ptr %209, i32 0, i32 2
  store i32 0, ptr %210, align 8, !tbaa !33
  %211 = load ptr, ptr %23, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.s_vvertice, ptr %211, i32 0, i32 14
  store float 0.000000e+00, ptr %212, align 4, !tbaa !34
  store i32 0, ptr %33, align 4, !tbaa !9
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %213

213:                                              ; preds = %256, %179
  %214 = load i32, ptr %30, align 4, !tbaa !9
  %215 = icmp slt i32 %214, 4
  br i1 %215, label %216, label %259

216:                                              ; preds = %213
  %217 = load ptr, ptr %13, align 8, !tbaa !5
  %218 = load ptr, ptr %11, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.s_lst_vvertice, ptr %218, i32 0, i32 2
  %220 = load ptr, ptr %219, align 8, !tbaa !35
  %221 = load i32, ptr %30, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 %222
  %224 = load i32, ptr %223, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds i32, ptr %220, i64 %225
  %227 = load i32, ptr %226, align 4, !tbaa !9
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds %struct.s_atm, ptr %217, i64 %228
  %230 = getelementptr inbounds %struct.s_atm, ptr %229, i32 0, i32 22
  %231 = load float, ptr %230, align 8, !tbaa !36
  %232 = fpext float %231 to double
  %233 = fcmp olt double %232, 2.800000e+00
  br i1 %233, label %234, label %237

234:                                              ; preds = %216
  %235 = load i32, ptr %33, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %33, align 4, !tbaa !9
  br label %237

237:                                              ; preds = %234, %216
  %238 = load ptr, ptr %13, align 8, !tbaa !5
  %239 = load ptr, ptr %11, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.s_lst_vvertice, ptr %239, i32 0, i32 2
  %241 = load ptr, ptr %240, align 8, !tbaa !35
  %242 = load i32, ptr %30, align 4, !tbaa !9
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 %243
  %245 = load i32, ptr %244, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds i32, ptr %241, i64 %246
  %248 = load i32, ptr %247, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds %struct.s_atm, ptr %238, i64 %249
  %251 = load ptr, ptr %23, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.s_vvertice, ptr %251, i32 0, i32 12
  %253 = load i32, ptr %30, align 4, !tbaa !9
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [4 x ptr], ptr %252, i64 0, i64 %254
  store ptr %250, ptr %255, align 8, !tbaa !5
  br label %256

256:                                              ; preds = %237
  %257 = load i32, ptr %30, align 4, !tbaa !9
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %30, align 4, !tbaa !9
  br label %213, !llvm.loop !38

259:                                              ; preds = %213
  %260 = load ptr, ptr %23, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.s_vvertice, ptr %260, i32 0, i32 10
  store i32 0, ptr %261, align 8, !tbaa !39
  %262 = load i32, ptr %32, align 4, !tbaa !9
  %263 = load ptr, ptr %11, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.s_lst_vvertice, ptr %263, i32 0, i32 4
  %265 = load ptr, ptr %264, align 8, !tbaa !21
  %266 = load i32, ptr %29, align 4, !tbaa !9
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds i32, ptr %265, i64 %267
  store i32 %262, ptr %268, align 4, !tbaa !9
  %269 = load ptr, ptr %23, align 8, !tbaa !5
  %270 = load ptr, ptr %11, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.s_lst_vvertice, ptr %270, i32 0, i32 1
  %272 = load ptr, ptr %271, align 8, !tbaa !25
  %273 = load i32, ptr %32, align 4, !tbaa !9
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds ptr, ptr %272, i64 %274
  store ptr %269, ptr %275, align 8, !tbaa !5
  %276 = load i32, ptr %32, align 4, !tbaa !9
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %32, align 4, !tbaa !9
  %278 = load i32, ptr %14, align 4, !tbaa !9
  %279 = load i32, ptr %29, align 4, !tbaa !9
  %280 = add nsw i32 %278, %279
  %281 = add nsw i32 %280, 1
  %282 = load i32, ptr %32, align 4, !tbaa !9
  %283 = sub nsw i32 %281, %282
  %284 = load ptr, ptr %23, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.s_vvertice, ptr %284, i32 0, i32 1
  store i32 %283, ptr %285, align 4, !tbaa !40
  %286 = load i32, ptr %33, align 4, !tbaa !9
  %287 = load i32, ptr %24, align 4, !tbaa !9
  %288 = icmp sge i32 %286, %287
  br i1 %288, label %289, label %292

289:                                              ; preds = %259
  %290 = load ptr, ptr %23, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.s_vvertice, ptr %290, i32 0, i32 4
  store i32 0, ptr %291, align 8, !tbaa !41
  br label %295

292:                                              ; preds = %259
  %293 = load ptr, ptr %23, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.s_vvertice, ptr %293, i32 0, i32 4
  store i32 1, ptr %294, align 8, !tbaa !41
  br label %295

295:                                              ; preds = %292, %289
  %296 = load i32, ptr %29, align 4, !tbaa !9
  %297 = load ptr, ptr %23, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.s_vvertice, ptr %297, i32 0, i32 3
  store i32 %296, ptr %298, align 4, !tbaa !42
  %299 = load ptr, ptr %20, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.s_pdb, ptr %299, i32 0, i32 9
  %301 = load i32, ptr %300, align 8, !tbaa !43
  %302 = icmp sgt i32 %301, 0
  br i1 %302, label %303, label %306

303:                                              ; preds = %295
  %304 = load ptr, ptr %23, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.s_vvertice, ptr %304, i32 0, i32 0
  store i32 1, ptr %305, align 8, !tbaa !45
  br label %309

306:                                              ; preds = %295
  %307 = load ptr, ptr %23, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.s_vvertice, ptr %307, i32 0, i32 0
  store i32 -1, ptr %308, align 8, !tbaa !45
  br label %309

309:                                              ; preds = %306, %303
  %310 = load ptr, ptr %23, align 8, !tbaa !5
  call void @set_barycenter(ptr noundef %310)
  br label %311

311:                                              ; preds = %309, %156
  %312 = load i32, ptr %29, align 4, !tbaa !9
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr %29, align 4, !tbaa !9
  br label %314

314:                                              ; preds = %311, %153, %150
  br label %315

315:                                              ; preds = %314, %145
  br label %140, !llvm.loop !46

316:                                              ; preds = %140
  %317 = load ptr, ptr %38, align 8, !tbaa !5
  call void @my_free(ptr noundef %317)
  %318 = load i32, ptr %32, align 4, !tbaa !9
  %319 = load ptr, ptr %11, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.s_lst_vvertice, ptr %319, i32 0, i32 5
  store i32 %318, ptr %320, align 8, !tbaa !18
  %321 = load ptr, ptr %21, align 8, !tbaa !5
  %322 = call i32 @fclose(ptr noundef %321)
  %323 = load ptr, ptr %22, align 8, !tbaa !5
  %324 = call i32 @fclose(ptr noundef %323)
  store i32 0, ptr %40, align 4
  br label %325

325:                                              ; preds = %316, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  %326 = load ptr, ptr %35, align 8
  call void @llvm.stackrestore.p0(ptr %326)
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  %327 = load i32, ptr %40, align 4
  switch i32 %327, label %329 [
    i32 0, label %328
    i32 1, label %328
  ]

328:                                              ; preds = %325, %325
  ret void

329:                                              ; preds = %325
  unreachable
}

declare i32 @fclose(ptr noundef) #3

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

declare void @my_free(ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

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

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

declare ptr @my_calloc(i64 noundef, i64 noundef) #3

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local float @testVvertice(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local void @set_barycenter(ptr noundef) #5

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 14088}
!14 = !{!"s_fparams", !7, i64 0, !7, i64 2000, !7, i64 4000, !7, i64 6000, !6, i64 14000, !6, i64 14008, !6, i64 14016, !10, i64 14024, !10, i64 14028, !6, i64 14032, !6, i64 14040, !6, i64 14048, !7, i64 14056, !7, i64 14057, !10, i64 14060, !10, i64 14064, !15, i64 14068, !10, i64 14072, !10, i64 14076, !10, i64 14080, !15, i64 14084, !10, i64 14088, !10, i64 14092, !10, i64 14096, !15, i64 14100, !12, i64 14104, !12, i64 14108, !12, i64 14112, !12, i64 14116, !12, i64 14120, !7, i64 14128, !15, i64 14288, !15, i64 14290, !7, i64 14296, !10, i64 14456, !7, i64 14460}
!15 = !{!"short", !7, i64 0}
!16 = !{!14, !12, i64 14112}
!17 = !{!14, !12, i64 14120}
!18 = !{!19, !10, i64 40}
!19 = !{!"s_lst_vvertice", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !10, i64 40, !10, i64 44}
!20 = !{!19, !10, i64 44}
!21 = !{!19, !6, i64 32}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!19, !6, i64 0}
!25 = !{!19, !6, i64 8}
!26 = distinct !{!26, !23}
!27 = !{!28, !12, i64 24}
!28 = !{!"s_vvertice", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !10, i64 36, !10, i64 40, !7, i64 44, !7, i64 64, !7, i64 96, !12, i64 108}
!29 = !{!28, !12, i64 28}
!30 = !{!28, !12, i64 32}
!31 = !{!28, !12, i64 20}
!32 = !{!28, !10, i64 36}
!33 = !{!28, !10, i64 8}
!34 = !{!28, !12, i64 108}
!35 = !{!19, !6, i64 16}
!36 = !{!37, !12, i64 120}
!37 = !{!"s_atm", !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !7, i64 32, !7, i64 37, !7, i64 44, !7, i64 60, !7, i64 76, !7, i64 79, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !7, i64 144, !7, i64 145, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !15, i64 164, !6, i64 168, !10, i64 176}
!38 = distinct !{!38, !23}
!39 = !{!28, !10, i64 40}
!40 = !{!28, !10, i64 4}
!41 = !{!28, !10, i64 16}
!42 = !{!28, !10, i64 12}
!43 = !{!44, !10, i64 72}
!44 = !{!"s_pdb", !6, 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, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !7, i64 116, !7, i64 199, !12, i64 700, !12, i64 704, !12, i64 708, !10, i64 712, !10, i64 716}
!45 = !{!28, !10, i64 0}
!46 = distinct !{!46, !23}


; 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.s_vvertice = type { i32, i32, i32, i32, i32, float, float, float, float, i32, i32, [4 x i32], [4 x ptr], [3 x float], float }
%struct.s_atm = type { i32, float, float, float, float, float, float, float, [5 x i8], [7 x i8], [16 x i8], [16 x i8], [3 x i8], [8 x i8], i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, i8, i8, float, float, float, float, i16, ptr, i32 }

@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare ptr @my_malloc(i64 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @fill_vvertices(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8, ptr noundef %9) local_unnamed_addr #5 {
  %11 = alloca [3 x float], align 4
  %12 = alloca [4 x i32], align 16
  %13 = getelementptr inbounds i8, ptr %4, i64 14088
  %14 = load i32, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %11, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  %15 = tail call ptr @llvm.stacksave.p0()
  %16 = alloca [255 x i8], align 16
  %17 = alloca [255 x i8], align 16
  %18 = tail call ptr @my_malloc(i64 noundef 255) #8
  %19 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.9)
  %20 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.9)
  %21 = call ptr @fgets(ptr noundef nonnull %16, i32 noundef 255, ptr noundef %19)
  %22 = call ptr @fgets(ptr noundef nonnull %16, i32 noundef 255, ptr noundef %19)
  %23 = call ptr @fgets(ptr noundef nonnull %17, i32 noundef 255, ptr noundef %20)
  %24 = call ptr @fgets(ptr noundef nonnull %17, i32 noundef 255, ptr noundef %20)
  %.not = icmp eq ptr %24, null
  br i1 %.not, label %157, label %25

25:                                               ; preds = %10
  %26 = getelementptr inbounds i8, ptr %0, i64 40
  %27 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %16, ptr noundef nonnull @.str.10, ptr noundef nonnull %26) #8
  %28 = load i32, ptr %26, align 8, !tbaa !13
  %29 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 %28, ptr %29, align 4, !tbaa !15
  %30 = sext i32 %28 to i64
  %31 = shl nsw i64 %30, 2
  %32 = call ptr @my_malloc(i64 noundef %31) #8
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %32, ptr %33, align 8, !tbaa !16
  %34 = load i32, ptr %26, align 8, !tbaa !13
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %25, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %25 ]
  %36 = getelementptr inbounds i32, ptr %32, i64 %indvars.iv
  store i32 -1, ptr %36, align 4, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = load i32, ptr %26, align 8, !tbaa !13
  %38 = sext i32 %37 to i64
  %39 = icmp slt i64 %indvars.iv.next, %38
  br i1 %39, label %.lr.ph, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph, %25
  %40 = call ptr @my_calloc(i64 noundef 1000000, i64 noundef 112) #8
  store ptr %40, ptr %0, align 8, !tbaa !20
  %41 = call ptr @my_calloc(i64 noundef 1000000, i64 noundef 8) #8
  %42 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %41, ptr %42, align 8, !tbaa !21
  %43 = load i32, ptr %26, align 8, !tbaa !13
  %44 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %43) #8
  %45 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) @.str.11) #8
  br label %46

46:                                               ; preds = %48, %._crit_edge
  %47 = call ptr @fgets(ptr noundef nonnull %17, i32 noundef 255, ptr noundef %20)
  %.not107 = icmp eq ptr %47, null
  br i1 %.not107, label %.critedge, label %48

48:                                               ; preds = %46
  %49 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) %17) #9
  %.not108 = icmp eq i32 %49, 0
  br i1 %.not108, label %.critedge, label %46, !llvm.loop !22

.critedge:                                        ; preds = %46, %48
  %50 = call ptr @fgets(ptr noundef nonnull %16, i32 noundef 255, ptr noundef %19)
  %.not109117 = icmp eq ptr %50, null
  br i1 %.not109117, label %._crit_edge121, label %.lr.ph120

.lr.ph120:                                        ; preds = %.critedge
  %51 = getelementptr inbounds i8, ptr %11, i64 4
  %52 = getelementptr inbounds i8, ptr %11, i64 8
  %53 = getelementptr inbounds i8, ptr %12, i64 4
  %54 = getelementptr inbounds i8, ptr %12, i64 8
  %55 = getelementptr inbounds i8, ptr %12, i64 12
  %56 = getelementptr inbounds i8, ptr %0, i64 16
  %57 = getelementptr inbounds i8, ptr %9, i64 72
  br label %58

58:                                               ; preds = %.lr.ph120, %153
  %.1119 = phi i32 [ 0, %.lr.ph120 ], [ %.2, %153 ]
  %.0103118 = phi i32 [ 0, %.lr.ph120 ], [ %.2105, %153 ]
  %59 = call ptr @fgets(ptr noundef nonnull %17, i32 noundef 255, ptr noundef %20)
  %.not110 = icmp eq ptr %59, null
  br i1 %.not110, label %153, label %60

60:                                               ; preds = %58
  %61 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull dereferenceable(1) %16) #9
  %.not111 = icmp eq i32 %61, 0
  br i1 %.not111, label %153, label %62

62:                                               ; preds = %60
  %63 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull dereferenceable(1) %17) #9
  %.not112 = icmp eq i32 %63, 0
  br i1 %.not112, label %153, label %64

64:                                               ; preds = %62
  %65 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %16, ptr noundef nonnull @.str.12, ptr noundef nonnull %11, ptr noundef nonnull %51, ptr noundef nonnull %52) #8
  %66 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %17, ptr noundef nonnull @.str.13, ptr noundef nonnull %12, ptr noundef nonnull %53, ptr noundef nonnull %54, ptr noundef nonnull %55) #8
  %67 = call float @testVvertice(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %2, ptr noundef %4, ptr noundef nonnull %0, float noundef %5, float noundef %6, float noundef %7, float noundef %8, ptr noundef %9)
  %68 = fcmp ogt float %67, 0.000000e+00
  br i1 %68, label %69, label %151

69:                                               ; preds = %64
  %70 = load ptr, ptr %0, align 8, !tbaa !20
  %71 = sext i32 %.0103118 to i64
  %72 = getelementptr inbounds %struct.s_vvertice, ptr %70, i64 %71
  %73 = load float, ptr %11, align 4, !tbaa !23
  %74 = fsub float %73, %5
  %75 = getelementptr inbounds i8, ptr %72, i64 24
  store float %74, ptr %75, align 8, !tbaa !24
  %76 = load float, ptr %51, align 4, !tbaa !23
  %77 = fsub float %76, %6
  %78 = getelementptr inbounds i8, ptr %72, i64 28
  store float %77, ptr %78, align 4, !tbaa !26
  %79 = load float, ptr %52, align 4, !tbaa !23
  %80 = fsub float %79, %7
  %81 = getelementptr inbounds i8, ptr %72, i64 32
  store float %80, ptr %81, align 8, !tbaa !27
  %82 = getelementptr inbounds i8, ptr %72, i64 20
  store float %67, ptr %82, align 4, !tbaa !28
  %83 = getelementptr inbounds i8, ptr %72, i64 36
  store i32 -1, ptr %83, align 4, !tbaa !29
  %84 = getelementptr inbounds i8, ptr %72, i64 8
  store i32 0, ptr %84, align 8, !tbaa !30
  %85 = getelementptr inbounds i8, ptr %72, i64 108
  store float 0.000000e+00, ptr %85, align 4, !tbaa !31
  %86 = getelementptr inbounds i8, ptr %72, i64 64
  %87 = load ptr, ptr %56, align 8, !tbaa !32
  %88 = load i32, ptr %12, align 16, !tbaa !17
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds i32, ptr %87, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !17
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %92, i32 22
  %94 = load float, ptr %93, align 8, !tbaa !33
  %95 = fpext float %94 to double
  %96 = fcmp olt double %95, 2.800000e+00
  %97 = zext i1 %96 to i32
  %98 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %92
  store ptr %98, ptr %86, align 8, !tbaa !35
  %99 = load ptr, ptr %56, align 8, !tbaa !32
  %100 = load i32, ptr %53, align 4, !tbaa !17
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i32, ptr %99, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !17
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %104, i32 22
  %106 = load float, ptr %105, align 8, !tbaa !33
  %107 = fpext float %106 to double
  %108 = fcmp olt double %107, 2.800000e+00
  %109 = zext i1 %108 to i32
  %.1102.1 = add nuw nsw i32 %97, %109
  %110 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %104
  %111 = getelementptr inbounds i8, ptr %72, i64 72
  store ptr %110, ptr %111, align 8, !tbaa !35
  %112 = load ptr, ptr %56, align 8, !tbaa !32
  %113 = load i32, ptr %54, align 8, !tbaa !17
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds i32, ptr %112, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !17
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %117, i32 22
  %119 = load float, ptr %118, align 8, !tbaa !33
  %120 = fpext float %119 to double
  %121 = fcmp olt double %120, 2.800000e+00
  %122 = zext i1 %121 to i32
  %.1102.2 = add nuw nsw i32 %.1102.1, %122
  %123 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %117
  %124 = getelementptr inbounds i8, ptr %72, i64 80
  store ptr %123, ptr %124, align 8, !tbaa !35
  %125 = load ptr, ptr %56, align 8, !tbaa !32
  %126 = load i32, ptr %55, align 4, !tbaa !17
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds i32, ptr %125, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !17
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %130, i32 22
  %132 = load float, ptr %131, align 8, !tbaa !33
  %133 = fpext float %132 to double
  %134 = fcmp olt double %133, 2.800000e+00
  %135 = zext i1 %134 to i32
  %.1102.3 = add nuw nsw i32 %.1102.2, %135
  %136 = getelementptr inbounds %struct.s_atm, ptr %2, i64 %130
  %137 = getelementptr inbounds i8, ptr %72, i64 88
  store ptr %136, ptr %137, align 8, !tbaa !35
  %138 = getelementptr inbounds i8, ptr %72, i64 40
  store i32 0, ptr %138, align 8, !tbaa !36
  %139 = load ptr, ptr %33, align 8, !tbaa !16
  %140 = sext i32 %.1119 to i64
  %141 = getelementptr inbounds i32, ptr %139, i64 %140
  store i32 %.0103118, ptr %141, align 4, !tbaa !17
  %142 = load ptr, ptr %42, align 8, !tbaa !21
  %143 = getelementptr inbounds ptr, ptr %142, i64 %71
  store ptr %72, ptr %143, align 8, !tbaa !35
  %144 = add nsw i32 %.0103118, 1
  %145 = sub i32 %3, %.0103118
  %146 = add i32 %145, %.1119
  %147 = getelementptr inbounds i8, ptr %72, i64 4
  store i32 %146, ptr %147, align 4, !tbaa !37
  %.not113 = icmp slt i32 %.1102.3, %14
  %spec.select = zext i1 %.not113 to i32
  %148 = getelementptr inbounds i8, ptr %72, i64 16
  store i32 %spec.select, ptr %148, align 8
  %149 = getelementptr inbounds i8, ptr %72, i64 12
  store i32 %.1119, ptr %149, align 4, !tbaa !38
  %150 = load i32, ptr %57, align 8, !tbaa !39
  %.inv = icmp slt i32 %150, 1
  %. = select i1 %.inv, i32 -1, i32 1
  store i32 %., ptr %72, align 8, !tbaa !41
  call void @set_barycenter(ptr noundef nonnull %72)
  br label %151

151:                                              ; preds = %69, %64
  %.1104 = phi i32 [ %144, %69 ], [ %.0103118, %64 ]
  %152 = add nsw i32 %.1119, 1
  br label %153

153:                                              ; preds = %60, %62, %151, %58
  %.2105 = phi i32 [ %.1104, %151 ], [ %.0103118, %62 ], [ %.0103118, %60 ], [ %.0103118, %58 ]
  %.2 = phi i32 [ %152, %151 ], [ %.1119, %62 ], [ %.1119, %60 ], [ %.1119, %58 ]
  %154 = call ptr @fgets(ptr noundef nonnull %16, i32 noundef 255, ptr noundef %19)
  %.not109 = icmp eq ptr %154, null
  br i1 %.not109, label %._crit_edge121, label %58, !llvm.loop !42

._crit_edge121:                                   ; preds = %153, %.critedge
  %.0103.lcssa = phi i32 [ 0, %.critedge ], [ %.2105, %153 ]
  call void @my_free(ptr noundef %18) #8
  store i32 %.0103.lcssa, ptr %26, align 8, !tbaa !13
  %155 = call i32 @fclose(ptr noundef %19)
  %156 = call i32 @fclose(ptr noundef %20)
  br label %157

157:                                              ; preds = %10, %._crit_edge121
  call void @llvm.stackrestore.p0(ptr %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #8
  ret void
}

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

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

declare void @my_free(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

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

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

declare ptr @my_calloc(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
declare dso_local float @testVvertice(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local void @set_barycenter(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #8 = { nounwind }
attributes #9 = { 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, !10, i64 14088}
!6 = !{!"s_fparams", !7, i64 0, !7, i64 2000, !7, i64 4000, !7, i64 6000, !9, i64 14000, !9, i64 14008, !9, i64 14016, !10, i64 14024, !10, i64 14028, !9, i64 14032, !9, i64 14040, !9, i64 14048, !7, i64 14056, !7, i64 14057, !10, i64 14060, !10, i64 14064, !11, i64 14068, !10, i64 14072, !10, i64 14076, !10, i64 14080, !11, i64 14084, !10, i64 14088, !10, i64 14092, !10, i64 14096, !11, i64 14100, !12, i64 14104, !12, i64 14108, !12, i64 14112, !12, i64 14116, !12, i64 14120, !7, i64 14128, !11, i64 14288, !11, i64 14290, !7, i64 14296, !10, i64 14456, !7, i64 14460}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!"short", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 40}
!14 = !{!"s_lst_vvertice", !9, i64 0, !9, i64 8, !9, i64 16, !10, i64 24, !9, i64 32, !10, i64 40, !10, i64 44}
!15 = !{!14, !10, i64 44}
!16 = !{!14, !9, i64 32}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!14, !9, i64 0}
!21 = !{!14, !9, i64 8}
!22 = distinct !{!22, !19}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !12, i64 24}
!25 = !{!"s_vvertice", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !10, i64 36, !10, i64 40, !7, i64 44, !7, i64 64, !7, i64 96, !12, i64 108}
!26 = !{!25, !12, i64 28}
!27 = !{!25, !12, i64 32}
!28 = !{!25, !12, i64 20}
!29 = !{!25, !10, i64 36}
!30 = !{!25, !10, i64 8}
!31 = !{!25, !12, i64 108}
!32 = !{!14, !9, i64 16}
!33 = !{!34, !12, i64 120}
!34 = !{!"s_atm", !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !7, i64 32, !7, i64 37, !7, i64 44, !7, i64 60, !7, i64 76, !7, i64 79, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !7, i64 144, !7, i64 145, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !11, i64 164, !9, i64 168, !10, i64 176}
!35 = !{!9, !9, i64 0}
!36 = !{!25, !10, i64 40}
!37 = !{!25, !10, i64 4}
!38 = !{!25, !10, i64 12}
!39 = !{!40, !10, i64 72}
!40 = !{!"s_pdb", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !7, i64 116, !7, i64 199, !12, i64 700, !12, i64 704, !12, i64 708, !10, i64 712, !10, i64 716}
!41 = !{!25, !10, i64 0}
!42 = distinct !{!42, !19}


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