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

@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [104 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

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

declare float @dist(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @print_vvertices(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %314

13:                                               ; preds = %2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.s_lst_vvertice, ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %313

18:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !12
  br label %19

19:                                               ; preds = %309, %18
  %20 = load i32, ptr %5, align 4, !tbaa !12
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.s_lst_vvertice, ptr %21, i32 0, i32 5
  %23 = load i32, ptr %22, align 8, !tbaa !13
  %24 = icmp slt i32 %20, %23
  br i1 %24, label %25, label %312

25:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.s_lst_vvertice, ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = load i32, ptr %5, align 4, !tbaa !12
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds %struct.s_vvertice, ptr %28, i64 %30
  store ptr %31, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.s_vvertice, ptr %32, i32 0, i32 12
  %34 = getelementptr inbounds [4 x ptr], ptr %33, i64 0, i64 0
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %308

37:                                               ; preds = %25
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.s_vvertice, ptr %38, i32 0, i32 12
  %40 = getelementptr inbounds [4 x ptr], ptr %39, i64 0, i64 1
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %308

43:                                               ; preds = %37
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.s_vvertice, ptr %44, i32 0, i32 12
  %46 = getelementptr inbounds [4 x ptr], ptr %45, i64 0, i64 2
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %308

49:                                               ; preds = %43
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.s_vvertice, ptr %50, i32 0, i32 12
  %52 = getelementptr inbounds [4 x ptr], ptr %51, i64 0, i64 3
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %308

55:                                               ; preds = %49
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = load i32, ptr %5, align 4, !tbaa !12
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.16, i32 noundef %57) #4
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.s_vvertice, ptr %60, i32 0, i32 6
  %62 = load float, ptr %61, align 8, !tbaa !14
  %63 = fpext float %62 to double
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.s_vvertice, ptr %64, i32 0, i32 7
  %66 = load float, ptr %65, align 4, !tbaa !17
  %67 = fpext float %66 to double
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.s_vvertice, ptr %68, i32 0, i32 8
  %70 = load float, ptr %69, align 8, !tbaa !18
  %71 = fpext float %70 to double
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.17, double noundef %63, double noundef %67, double noundef %71) #4
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.s_vvertice, ptr %74, i32 0, i32 9
  %76 = load i32, ptr %75, align 4, !tbaa !19
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.18, i32 noundef %76) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.s_vvertice, ptr %78, i32 0, i32 6
  %80 = load float, ptr %79, align 8, !tbaa !14
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.s_vvertice, ptr %81, i32 0, i32 7
  %83 = load float, ptr %82, align 4, !tbaa !17
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.s_vvertice, ptr %84, i32 0, i32 8
  %86 = load float, ptr %85, align 8, !tbaa !18
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.s_vvertice, ptr %87, i32 0, i32 12
  %89 = getelementptr inbounds [4 x ptr], ptr %88, i64 0, i64 0
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.s_atm, ptr %90, i32 0, i32 5
  %92 = load float, ptr %91, align 4, !tbaa !20
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.s_vvertice, ptr %93, i32 0, i32 12
  %95 = getelementptr inbounds [4 x ptr], ptr %94, i64 0, i64 0
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.s_atm, ptr %96, i32 0, i32 6
  %98 = load float, ptr %97, align 8, !tbaa !23
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.s_vvertice, ptr %99, i32 0, i32 12
  %101 = getelementptr inbounds [4 x ptr], ptr %100, i64 0, i64 0
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.s_atm, ptr %102, i32 0, i32 7
  %104 = load float, ptr %103, align 4, !tbaa !24
  %105 = call float @dist(float noundef %80, float noundef %83, float noundef %86, float noundef %92, float noundef %98, float noundef %104)
  store float %105, ptr %7, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.s_vvertice, ptr %106, i32 0, i32 6
  %108 = load float, ptr %107, align 8, !tbaa !14
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.s_vvertice, ptr %109, i32 0, i32 7
  %111 = load float, ptr %110, align 4, !tbaa !17
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.s_vvertice, ptr %112, i32 0, i32 8
  %114 = load float, ptr %113, align 8, !tbaa !18
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.s_vvertice, ptr %115, i32 0, i32 12
  %117 = getelementptr inbounds [4 x ptr], ptr %116, i64 0, i64 1
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.s_atm, ptr %118, i32 0, i32 5
  %120 = load float, ptr %119, align 4, !tbaa !20
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.s_vvertice, ptr %121, i32 0, i32 12
  %123 = getelementptr inbounds [4 x ptr], ptr %122, i64 0, i64 1
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.s_atm, ptr %124, i32 0, i32 6
  %126 = load float, ptr %125, align 8, !tbaa !23
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.s_vvertice, ptr %127, i32 0, i32 12
  %129 = getelementptr inbounds [4 x ptr], ptr %128, i64 0, i64 1
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.s_atm, ptr %130, i32 0, i32 7
  %132 = load float, ptr %131, align 4, !tbaa !24
  %133 = call float @dist(float noundef %108, float noundef %111, float noundef %114, float noundef %120, float noundef %126, float noundef %132)
  store float %133, ptr %8, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.s_vvertice, ptr %134, i32 0, i32 6
  %136 = load float, ptr %135, align 8, !tbaa !14
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.s_vvertice, ptr %137, i32 0, i32 7
  %139 = load float, ptr %138, align 4, !tbaa !17
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.s_vvertice, ptr %140, i32 0, i32 8
  %142 = load float, ptr %141, align 8, !tbaa !18
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.s_vvertice, ptr %143, i32 0, i32 12
  %145 = getelementptr inbounds [4 x ptr], ptr %144, i64 0, i64 2
  %146 = load ptr, ptr %145, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.s_atm, ptr %146, i32 0, i32 5
  %148 = load float, ptr %147, align 4, !tbaa !20
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.s_vvertice, ptr %149, i32 0, i32 12
  %151 = getelementptr inbounds [4 x ptr], ptr %150, i64 0, i64 2
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.s_atm, ptr %152, i32 0, i32 6
  %154 = load float, ptr %153, align 8, !tbaa !23
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.s_vvertice, ptr %155, i32 0, i32 12
  %157 = getelementptr inbounds [4 x ptr], ptr %156, i64 0, i64 2
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.s_atm, ptr %158, i32 0, i32 7
  %160 = load float, ptr %159, align 4, !tbaa !24
  %161 = call float @dist(float noundef %136, float noundef %139, float noundef %142, float noundef %148, float noundef %154, float noundef %160)
  store float %161, ptr %9, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.s_vvertice, ptr %162, i32 0, i32 6
  %164 = load float, ptr %163, align 8, !tbaa !14
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.s_vvertice, ptr %165, i32 0, i32 7
  %167 = load float, ptr %166, align 4, !tbaa !17
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.s_vvertice, ptr %168, i32 0, i32 8
  %170 = load float, ptr %169, align 8, !tbaa !18
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.s_vvertice, ptr %171, i32 0, i32 12
  %173 = getelementptr inbounds [4 x ptr], ptr %172, i64 0, i64 3
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.s_atm, ptr %174, i32 0, i32 5
  %176 = load float, ptr %175, align 4, !tbaa !20
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.s_vvertice, ptr %177, i32 0, i32 12
  %179 = getelementptr inbounds [4 x ptr], ptr %178, i64 0, i64 3
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.s_atm, ptr %180, i32 0, i32 6
  %182 = load float, ptr %181, align 8, !tbaa !23
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.s_vvertice, ptr %183, i32 0, i32 12
  %185 = getelementptr inbounds [4 x ptr], ptr %184, i64 0, i64 3
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.s_atm, ptr %186, i32 0, i32 7
  %188 = load float, ptr %187, align 4, !tbaa !24
  %189 = call float @dist(float noundef %164, float noundef %167, float noundef %170, float noundef %176, float noundef %182, float noundef %188)
  store float %189, ptr %10, align 4, !tbaa !25
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = load float, ptr %7, align 4, !tbaa !25
  %192 = fpext float %191 to double
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.s_vvertice, ptr %193, i32 0, i32 12
  %195 = getelementptr inbounds [4 x ptr], ptr %194, i64 0, i64 0
  %196 = load ptr, ptr %195, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.s_atm, ptr %196, i32 0, i32 5
  %198 = load float, ptr %197, align 4, !tbaa !20
  %199 = fpext float %198 to double
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.s_vvertice, ptr %200, i32 0, i32 12
  %202 = getelementptr inbounds [4 x ptr], ptr %201, i64 0, i64 0
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.s_atm, ptr %203, i32 0, i32 6
  %205 = load float, ptr %204, align 8, !tbaa !23
  %206 = fpext float %205 to double
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.s_vvertice, ptr %207, i32 0, i32 12
  %209 = getelementptr inbounds [4 x ptr], ptr %208, i64 0, i64 0
  %210 = load ptr, ptr %209, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.s_atm, ptr %210, i32 0, i32 7
  %212 = load float, ptr %211, align 4, !tbaa !24
  %213 = fpext float %212 to double
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.s_vvertice, ptr %214, i32 0, i32 12
  %216 = getelementptr inbounds [4 x ptr], ptr %215, i64 0, i64 0
  %217 = load ptr, ptr %216, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.s_atm, ptr %217, i32 0, i32 14
  %219 = load i32, ptr %218, align 8, !tbaa !26
  %220 = load float, ptr %8, align 4, !tbaa !25
  %221 = fpext float %220 to double
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.s_vvertice, ptr %222, i32 0, i32 12
  %224 = getelementptr inbounds [4 x ptr], ptr %223, i64 0, i64 1
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.s_atm, ptr %225, i32 0, i32 5
  %227 = load float, ptr %226, align 4, !tbaa !20
  %228 = fpext float %227 to double
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.s_vvertice, ptr %229, i32 0, i32 12
  %231 = getelementptr inbounds [4 x ptr], ptr %230, i64 0, i64 1
  %232 = load ptr, ptr %231, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.s_atm, ptr %232, i32 0, i32 6
  %234 = load float, ptr %233, align 8, !tbaa !23
  %235 = fpext float %234 to double
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.s_vvertice, ptr %236, i32 0, i32 12
  %238 = getelementptr inbounds [4 x ptr], ptr %237, i64 0, i64 1
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.s_atm, ptr %239, i32 0, i32 7
  %241 = load float, ptr %240, align 4, !tbaa !24
  %242 = fpext float %241 to double
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.s_vvertice, ptr %243, i32 0, i32 12
  %245 = getelementptr inbounds [4 x ptr], ptr %244, i64 0, i64 1
  %246 = load ptr, ptr %245, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.s_atm, ptr %246, i32 0, i32 14
  %248 = load i32, ptr %247, align 8, !tbaa !26
  %249 = load float, ptr %9, align 4, !tbaa !25
  %250 = fpext float %249 to double
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.s_vvertice, ptr %251, i32 0, i32 12
  %253 = getelementptr inbounds [4 x ptr], ptr %252, i64 0, i64 2
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.s_atm, ptr %254, i32 0, i32 5
  %256 = load float, ptr %255, align 4, !tbaa !20
  %257 = fpext float %256 to double
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.s_vvertice, ptr %258, i32 0, i32 12
  %260 = getelementptr inbounds [4 x ptr], ptr %259, i64 0, i64 2
  %261 = load ptr, ptr %260, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.s_atm, ptr %261, i32 0, i32 6
  %263 = load float, ptr %262, align 8, !tbaa !23
  %264 = fpext float %263 to double
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.s_vvertice, ptr %265, i32 0, i32 12
  %267 = getelementptr inbounds [4 x ptr], ptr %266, i64 0, i64 2
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.s_atm, ptr %268, i32 0, i32 7
  %270 = load float, ptr %269, align 4, !tbaa !24
  %271 = fpext float %270 to double
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.s_vvertice, ptr %272, i32 0, i32 12
  %274 = getelementptr inbounds [4 x ptr], ptr %273, i64 0, i64 2
  %275 = load ptr, ptr %274, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.s_atm, ptr %275, i32 0, i32 14
  %277 = load i32, ptr %276, align 8, !tbaa !26
  %278 = load float, ptr %10, align 4, !tbaa !25
  %279 = fpext float %278 to double
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.s_vvertice, ptr %280, i32 0, i32 12
  %282 = getelementptr inbounds [4 x ptr], ptr %281, i64 0, i64 3
  %283 = load ptr, ptr %282, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.s_atm, ptr %283, i32 0, i32 5
  %285 = load float, ptr %284, align 4, !tbaa !20
  %286 = fpext float %285 to double
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.s_vvertice, ptr %287, i32 0, i32 12
  %289 = getelementptr inbounds [4 x ptr], ptr %288, i64 0, i64 3
  %290 = load ptr, ptr %289, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.s_atm, ptr %290, i32 0, i32 6
  %292 = load float, ptr %291, align 8, !tbaa !23
  %293 = fpext float %292 to double
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.s_vvertice, ptr %294, i32 0, i32 12
  %296 = getelementptr inbounds [4 x ptr], ptr %295, i64 0, i64 3
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.s_atm, ptr %297, i32 0, i32 7
  %299 = load float, ptr %298, align 4, !tbaa !24
  %300 = fpext float %299 to double
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.s_vvertice, ptr %301, i32 0, i32 12
  %303 = getelementptr inbounds [4 x ptr], ptr %302, i64 0, i64 3
  %304 = load ptr, ptr %303, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.s_atm, ptr %304, i32 0, i32 14
  %306 = load i32, ptr %305, align 8, !tbaa !26
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.19, double noundef %192, double noundef %199, double noundef %206, double noundef %213, i32 noundef %219, double noundef %221, double noundef %228, double noundef %235, double noundef %242, i32 noundef %248, double noundef %250, double noundef %257, double noundef %264, double noundef %271, i32 noundef %277, double noundef %279, double noundef %286, double noundef %293, double noundef %300, i32 noundef %306) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %308

308:                                              ; preds = %55, %49, %43, %37, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %309

309:                                              ; preds = %308
  %310 = load i32, ptr %5, align 4, !tbaa !12
  %311 = add nsw i32 %310, 1
  store i32 %311, ptr %5, align 4, !tbaa !12
  br label %19, !llvm.loop !27

312:                                              ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %313

313:                                              ; preds = %312, %13
  br label %314

314:                                              ; preds = %313, %2
  ret void
}

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

!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, !6, i64 0}
!10 = !{!"s_lst_vvertice", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !11, i64 40, !11, i64 44}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 40}
!14 = !{!15, !16, i64 24}
!15 = !{!"s_vvertice", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !11, i64 36, !11, i64 40, !7, i64 44, !7, i64 64, !7, i64 96, !16, i64 108}
!16 = !{!"float", !7, i64 0}
!17 = !{!15, !16, i64 28}
!18 = !{!15, !16, i64 32}
!19 = !{!15, !11, i64 36}
!20 = !{!21, !16, i64 20}
!21 = !{!"s_atm", !11, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !7, i64 32, !7, i64 37, !7, i64 44, !7, i64 60, !7, i64 76, !7, i64 79, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !7, i64 144, !7, i64 145, !16, i64 148, !16, i64 152, !16, i64 156, !16, i64 160, !22, i64 164, !6, i64 168, !11, i64 176}
!22 = !{!"short", !7, i64 0}
!23 = !{!21, !16, i64 24}
!24 = !{!21, !16, i64 28}
!25 = !{!16, !16, i64 0}
!26 = !{!21, !11, i64 88}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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

@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [104 x i8], align 1

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

declare float @dist(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @print_vvertices(ptr nocapture noundef %0, ptr noundef readonly %1) local_unnamed_addr #2 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %.loopexit, label %3

3:                                                ; preds = %2
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %.not64 = icmp eq ptr %4, null
  br i1 %.not64, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %3
  %5 = getelementptr inbounds i8, ptr %1, i64 40
  %6 = load i32, ptr %5, align 8, !tbaa !11
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %135
  %8 = phi i32 [ %136, %135 ], [ %6, %.preheader ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %135 ], [ 0, %.preheader ]
  %9 = load ptr, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.s_vvertice, ptr %9, i64 %indvars.iv
  %11 = getelementptr inbounds i8, ptr %10, i64 64
  %12 = load ptr, ptr %11, align 8, !tbaa !12
  %.not65 = icmp eq ptr %12, null
  br i1 %.not65, label %135, label %13

13:                                               ; preds = %.lr.ph
  %14 = getelementptr inbounds i8, ptr %10, i64 72
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  %.not66 = icmp eq ptr %15, null
  br i1 %.not66, label %135, label %16

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %10, i64 80
  %18 = load ptr, ptr %17, align 8, !tbaa !12
  %.not67 = icmp eq ptr %18, null
  br i1 %.not67, label %135, label %19

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %10, i64 88
  %21 = load ptr, ptr %20, align 8, !tbaa !12
  %.not68 = icmp eq ptr %21, null
  br i1 %.not68, label %135, label %22

22:                                               ; preds = %19
  %23 = trunc nuw nsw i64 %indvars.iv to i32
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.16, i32 noundef %23) #3
  %25 = getelementptr inbounds i8, ptr %10, i64 24
  %26 = load float, ptr %25, align 8, !tbaa !13
  %27 = fpext float %26 to double
  %28 = getelementptr inbounds i8, ptr %10, i64 28
  %29 = load float, ptr %28, align 4, !tbaa !16
  %30 = fpext float %29 to double
  %31 = getelementptr inbounds i8, ptr %10, i64 32
  %32 = load float, ptr %31, align 8, !tbaa !17
  %33 = fpext float %32 to double
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.17, double noundef %27, double noundef %30, double noundef %33) #3
  %35 = getelementptr inbounds i8, ptr %10, i64 36
  %36 = load i32, ptr %35, align 4, !tbaa !18
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.18, i32 noundef %36) #3
  %38 = load float, ptr %25, align 8, !tbaa !13
  %39 = load float, ptr %28, align 4, !tbaa !16
  %40 = load float, ptr %31, align 8, !tbaa !17
  %41 = load ptr, ptr %11, align 8, !tbaa !12
  %42 = getelementptr inbounds i8, ptr %41, i64 20
  %43 = load float, ptr %42, align 4, !tbaa !19
  %44 = getelementptr inbounds i8, ptr %41, i64 24
  %45 = load float, ptr %44, align 8, !tbaa !22
  %46 = getelementptr inbounds i8, ptr %41, i64 28
  %47 = load float, ptr %46, align 4, !tbaa !23
  %48 = tail call float @dist(float noundef %38, float noundef %39, float noundef %40, float noundef %43, float noundef %45, float noundef %47) #3
  %49 = load float, ptr %25, align 8, !tbaa !13
  %50 = load float, ptr %28, align 4, !tbaa !16
  %51 = load float, ptr %31, align 8, !tbaa !17
  %52 = load ptr, ptr %14, align 8, !tbaa !12
  %53 = getelementptr inbounds i8, ptr %52, i64 20
  %54 = load float, ptr %53, align 4, !tbaa !19
  %55 = getelementptr inbounds i8, ptr %52, i64 24
  %56 = load float, ptr %55, align 8, !tbaa !22
  %57 = getelementptr inbounds i8, ptr %52, i64 28
  %58 = load float, ptr %57, align 4, !tbaa !23
  %59 = tail call float @dist(float noundef %49, float noundef %50, float noundef %51, float noundef %54, float noundef %56, float noundef %58) #3
  %60 = load float, ptr %25, align 8, !tbaa !13
  %61 = load float, ptr %28, align 4, !tbaa !16
  %62 = load float, ptr %31, align 8, !tbaa !17
  %63 = load ptr, ptr %17, align 8, !tbaa !12
  %64 = getelementptr inbounds i8, ptr %63, i64 20
  %65 = load float, ptr %64, align 4, !tbaa !19
  %66 = getelementptr inbounds i8, ptr %63, i64 24
  %67 = load float, ptr %66, align 8, !tbaa !22
  %68 = getelementptr inbounds i8, ptr %63, i64 28
  %69 = load float, ptr %68, align 4, !tbaa !23
  %70 = tail call float @dist(float noundef %60, float noundef %61, float noundef %62, float noundef %65, float noundef %67, float noundef %69) #3
  %71 = load float, ptr %25, align 8, !tbaa !13
  %72 = load float, ptr %28, align 4, !tbaa !16
  %73 = load float, ptr %31, align 8, !tbaa !17
  %74 = load ptr, ptr %20, align 8, !tbaa !12
  %75 = getelementptr inbounds i8, ptr %74, i64 20
  %76 = load float, ptr %75, align 4, !tbaa !19
  %77 = getelementptr inbounds i8, ptr %74, i64 24
  %78 = load float, ptr %77, align 8, !tbaa !22
  %79 = getelementptr inbounds i8, ptr %74, i64 28
  %80 = load float, ptr %79, align 4, !tbaa !23
  %81 = tail call float @dist(float noundef %71, float noundef %72, float noundef %73, float noundef %76, float noundef %78, float noundef %80) #3
  %82 = fpext float %48 to double
  %83 = load ptr, ptr %11, align 8, !tbaa !12
  %84 = getelementptr inbounds i8, ptr %83, i64 20
  %85 = load float, ptr %84, align 4, !tbaa !19
  %86 = fpext float %85 to double
  %87 = getelementptr inbounds i8, ptr %83, i64 24
  %88 = load float, ptr %87, align 8, !tbaa !22
  %89 = fpext float %88 to double
  %90 = getelementptr inbounds i8, ptr %83, i64 28
  %91 = load float, ptr %90, align 4, !tbaa !23
  %92 = fpext float %91 to double
  %93 = getelementptr inbounds i8, ptr %83, i64 88
  %94 = load i32, ptr %93, align 8, !tbaa !24
  %95 = fpext float %59 to double
  %96 = load ptr, ptr %14, align 8, !tbaa !12
  %97 = getelementptr inbounds i8, ptr %96, i64 20
  %98 = load float, ptr %97, align 4, !tbaa !19
  %99 = fpext float %98 to double
  %100 = getelementptr inbounds i8, ptr %96, i64 24
  %101 = load float, ptr %100, align 8, !tbaa !22
  %102 = fpext float %101 to double
  %103 = getelementptr inbounds i8, ptr %96, i64 28
  %104 = load float, ptr %103, align 4, !tbaa !23
  %105 = fpext float %104 to double
  %106 = getelementptr inbounds i8, ptr %96, i64 88
  %107 = load i32, ptr %106, align 8, !tbaa !24
  %108 = fpext float %70 to double
  %109 = load ptr, ptr %17, align 8, !tbaa !12
  %110 = getelementptr inbounds i8, ptr %109, i64 20
  %111 = load float, ptr %110, align 4, !tbaa !19
  %112 = fpext float %111 to double
  %113 = getelementptr inbounds i8, ptr %109, i64 24
  %114 = load float, ptr %113, align 8, !tbaa !22
  %115 = fpext float %114 to double
  %116 = getelementptr inbounds i8, ptr %109, i64 28
  %117 = load float, ptr %116, align 4, !tbaa !23
  %118 = fpext float %117 to double
  %119 = getelementptr inbounds i8, ptr %109, i64 88
  %120 = load i32, ptr %119, align 8, !tbaa !24
  %121 = fpext float %81 to double
  %122 = load ptr, ptr %20, align 8, !tbaa !12
  %123 = getelementptr inbounds i8, ptr %122, i64 20
  %124 = load float, ptr %123, align 4, !tbaa !19
  %125 = fpext float %124 to double
  %126 = getelementptr inbounds i8, ptr %122, i64 24
  %127 = load float, ptr %126, align 8, !tbaa !22
  %128 = fpext float %127 to double
  %129 = getelementptr inbounds i8, ptr %122, i64 28
  %130 = load float, ptr %129, align 4, !tbaa !23
  %131 = fpext float %130 to double
  %132 = getelementptr inbounds i8, ptr %122, i64 88
  %133 = load i32, ptr %132, align 8, !tbaa !24
  %134 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.19, double noundef %82, double noundef %86, double noundef %89, double noundef %92, i32 noundef %94, double noundef %95, double noundef %99, double noundef %102, double noundef %105, i32 noundef %107, double noundef %108, double noundef %112, double noundef %115, double noundef %118, i32 noundef %120, double noundef %121, double noundef %125, double noundef %128, double noundef %131, i32 noundef %133) #3
  %.pre = load i32, ptr %5, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %22, %19, %16, %13, %.lr.ph
  %136 = phi i32 [ %.pre, %22 ], [ %8, %19 ], [ %8, %16 ], [ %8, %13 ], [ %8, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %137 = sext i32 %136 to i64
  %138 = icmp slt i64 %indvars.iv.next, %137
  br i1 %138, label %.lr.ph, label %.loopexit, !llvm.loop !25

.loopexit:                                        ; preds = %135, %.preheader, %3, %2
  ret void
}

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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 = !{!"s_lst_vvertice", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !10, i64 44}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 40}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !15, i64 24}
!14 = !{!"s_vvertice", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !10, i64 36, !10, i64 40, !8, i64 44, !8, i64 64, !8, i64 96, !15, i64 108}
!15 = !{!"float", !8, i64 0}
!16 = !{!14, !15, i64 28}
!17 = !{!14, !15, i64 32}
!18 = !{!14, !10, i64 36}
!19 = !{!20, !15, i64 20}
!20 = !{!"s_atm", !10, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !8, i64 32, !8, i64 37, !8, i64 44, !8, i64 60, !8, i64 76, !8, i64 79, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !8, i64 144, !8, i64 145, !15, i64 148, !15, i64 152, !15, i64 156, !15, i64 160, !21, i64 164, !7, i64 168, !10, i64 176}
!21 = !{!"short", !8, i64 0}
!22 = !{!20, !15, i64 24}
!23 = !{!20, !15, i64 28}
!24 = !{!20, !10, i64 88}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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