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

; 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_pocket = type { ptr, ptr, float, float, float, float, [3 x float], i32, i32, i32, i32 }
%struct.c_lst_vertices = type { ptr, ptr, ptr, i64 }
%struct.node_vertice = type { ptr, ptr, ptr }
%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_desc = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, i32, [20 x i32], i32, i32, i32, float, float, i32, i32, i32, i32, i32, [255 x i8], [255 x i8], [8 x i8] }
%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 }

@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [54 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 uwtable
define dso_local void @write_pocket_pdb(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 10, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %12 = call ptr @my_malloc(i64 noundef 80)
  store ptr %12, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call noalias ptr @fopen(ptr noundef %13, ptr noundef @.str.6)
  store ptr %14, ptr %11, align 8, !tbaa !5
  %15 = load ptr, ptr %11, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %286

17:                                               ; preds = %2
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %286

20:                                               ; preds = %17
  %21 = load ptr, ptr %11, align 8, !tbaa !5
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.15) #4
  %23 = load ptr, ptr %11, align 8, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.37) #4
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.38) #4
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.21) #4
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.s_pocket, ptr %30, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds %struct.c_lst_vertices, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = getelementptr inbounds %struct.node_vertice, ptr %34, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !17
  %37 = getelementptr inbounds %struct.s_vvertice, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 8, !tbaa !19
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.22, i32 noundef %38) #4
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.s_pocket, ptr %41, i32 0, i32 2
  %43 = load float, ptr %42, align 8, !tbaa !21
  %44 = fpext float %43 to double
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.23, double noundef %44) #4
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.s_pocket, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !22
  %50 = getelementptr inbounds %struct.s_desc, ptr %49, i32 0, i32 33
  %51 = load float, ptr %50, align 4, !tbaa !23
  %52 = fpext float %51 to double
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.24, double noundef %52) #4
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.s_pocket, ptr %55, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !22
  %58 = getelementptr inbounds %struct.s_desc, ptr %57, i32 0, i32 29
  %59 = load i32, ptr %58, align 4, !tbaa !25
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.39, i32 noundef %59) #4
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.s_pocket, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !22
  %65 = getelementptr inbounds %struct.s_desc, ptr %64, i32 0, i32 5
  %66 = load float, ptr %65, align 4, !tbaa !26
  %67 = fpext float %66 to double
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.26, double noundef %67) #4
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.s_pocket, ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !22
  %73 = getelementptr inbounds %struct.s_desc, ptr %72, i32 0, i32 6
  %74 = load float, ptr %73, align 4, !tbaa !27
  %75 = fpext float %74 to double
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.40, double noundef %75) #4
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.s_pocket, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !22
  %81 = getelementptr inbounds %struct.s_desc, ptr %80, i32 0, i32 11
  %82 = load float, ptr %81, align 4, !tbaa !28
  %83 = fpext float %82 to double
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.41, double noundef %83) #4
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.s_pocket, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !22
  %89 = getelementptr inbounds %struct.s_desc, ptr %88, i32 0, i32 0
  %90 = load float, ptr %89, align 4, !tbaa !29
  %91 = fpext float %90 to double
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.29, double noundef %91) #4
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.s_pocket, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !22
  %97 = getelementptr inbounds %struct.s_desc, ptr %96, i32 0, i32 30
  %98 = load i32, ptr %97, align 4, !tbaa !30
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.30, i32 noundef %98) #4
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.s_pocket, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !22
  %104 = getelementptr inbounds %struct.s_desc, ptr %103, i32 0, i32 1
  %105 = load float, ptr %104, align 4, !tbaa !31
  %106 = fpext float %105 to double
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.42, double noundef %106) #4
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.s_pocket, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !22
  %112 = getelementptr inbounds %struct.s_desc, ptr %111, i32 0, i32 2
  %113 = load float, ptr %112, align 4, !tbaa !32
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.43, double noundef %114) #4
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.s_pocket, ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !22
  %120 = getelementptr inbounds %struct.s_desc, ptr %119, i32 0, i32 3
  %121 = load float, ptr %120, align 4, !tbaa !33
  %122 = fpext float %121 to double
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.44, double noundef %122) #4
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.s_pocket, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !22
  %128 = getelementptr inbounds %struct.s_desc, ptr %127, i32 0, i32 31
  %129 = load i32, ptr %128, align 4, !tbaa !34
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.45, i32 noundef %129) #4
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.s_pocket, ptr %132, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !22
  %135 = getelementptr inbounds %struct.s_desc, ptr %134, i32 0, i32 8
  %136 = load float, ptr %135, align 4, !tbaa !35
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.46, double noundef %137) #4
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.s_pocket, ptr %140, i32 0, i32 9
  %142 = load i32, ptr %141, align 4, !tbaa !36
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef @.str.47, i32 noundef %142) #4
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.s_pocket, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !22
  %148 = getelementptr inbounds %struct.s_desc, ptr %147, i32 0, i32 7
  %149 = load float, ptr %148, align 4, !tbaa !37
  %150 = fpext float %149 to double
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.48, double noundef %150) #4
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.s_pocket, ptr %152, i32 0, i32 1
  %154 = load ptr, ptr %153, align 8, !tbaa !11
  %155 = getelementptr inbounds %struct.c_lst_vertices, ptr %154, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8, !tbaa !14
  store ptr %156, ptr %5, align 8, !tbaa !5
  br label %157

157:                                              ; preds = %211, %20
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %215

160:                                              ; preds = %157
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %208, %160
  %162 = load i32, ptr %6, align 4, !tbaa !9
  %163 = icmp slt i32 %162, 4
  br i1 %163, label %164, label %211

164:                                              ; preds = %161
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = load i32, ptr %7, align 4, !tbaa !9
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.node_vertice, ptr %167, i32 0, i32 2
  %169 = load ptr, ptr %168, align 8, !tbaa !17
  %170 = getelementptr inbounds %struct.s_vvertice, ptr %169, i32 0, i32 12
  %171 = load i32, ptr %6, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [4 x ptr], ptr %170, i64 0, i64 %172
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.s_atm, ptr %174, i32 0, i32 14
  %176 = load i32, ptr %175, align 8, !tbaa !38
  %177 = call i32 @is_in_lst_atm(ptr noundef %165, i32 noundef %166, i32 noundef %176)
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %207, label %179

179:                                              ; preds = %164
  %180 = load i32, ptr %7, align 4, !tbaa !9
  %181 = load i32, ptr %8, align 4, !tbaa !9
  %182 = sub nsw i32 %181, 1
  %183 = icmp sge i32 %180, %182
  br i1 %183, label %184, label %192

184:                                              ; preds = %179
  %185 = load i32, ptr %8, align 4, !tbaa !9
  %186 = mul nsw i32 %185, 2
  store i32 %186, ptr %8, align 4, !tbaa !9
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = load i32, ptr %8, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = mul i64 184, %189
  %191 = call ptr @my_realloc(ptr noundef %187, i64 noundef %190)
  store ptr %191, ptr %9, align 8, !tbaa !5
  br label %192

192:                                              ; preds = %184, %179
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.node_vertice, ptr %193, i32 0, i32 2
  %195 = load ptr, ptr %194, align 8, !tbaa !17
  %196 = getelementptr inbounds %struct.s_vvertice, ptr %195, i32 0, i32 12
  %197 = load i32, ptr %6, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [4 x ptr], ptr %196, i64 0, i64 %198
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = load i32, ptr %7, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds ptr, ptr %201, i64 %203
  store ptr %200, ptr %204, align 8, !tbaa !5
  %205 = load i32, ptr %7, align 4, !tbaa !9
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %7, align 4, !tbaa !9
  br label %207

207:                                              ; preds = %192, %164
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %6, align 4, !tbaa !9
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %6, align 4, !tbaa !9
  br label %161, !llvm.loop !41

211:                                              ; preds = %161
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.node_vertice, ptr %212, i32 0, i32 0
  %214 = load ptr, ptr %213, align 8, !tbaa !43
  store ptr %214, ptr %5, align 8, !tbaa !5
  br label %157, !llvm.loop !44

215:                                              ; preds = %157
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %278, %215
  %217 = load i32, ptr %6, align 4, !tbaa !9
  %218 = load i32, ptr %7, align 4, !tbaa !9
  %219 = icmp slt i32 %217, %218
  br i1 %219, label %220, label %281

220:                                              ; preds = %216
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = load i32, ptr %6, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds ptr, ptr %221, i64 %223
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  store ptr %225, ptr %10, align 8, !tbaa !5
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = load ptr, ptr %10, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.s_atm, ptr %227, i32 0, i32 9
  %229 = getelementptr inbounds [7 x i8], ptr %228, i64 0, i64 0
  %230 = load ptr, ptr %10, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.s_atm, ptr %230, i32 0, i32 14
  %232 = load i32, ptr %231, align 8, !tbaa !38
  %233 = load ptr, ptr %10, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.s_atm, ptr %233, i32 0, i32 8
  %235 = getelementptr inbounds [5 x i8], ptr %234, i64 0, i64 0
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.s_atm, ptr %236, i32 0, i32 29
  %238 = load i8, ptr %237, align 1, !tbaa !45
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.s_atm, ptr %239, i32 0, i32 13
  %241 = getelementptr inbounds [8 x i8], ptr %240, i64 0, i64 0
  %242 = load ptr, ptr %10, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.s_atm, ptr %242, i32 0, i32 10
  %244 = getelementptr inbounds [16 x i8], ptr %243, i64 0, i64 0
  %245 = load ptr, ptr %10, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.s_atm, ptr %245, i32 0, i32 16
  %247 = load i32, ptr %246, align 8, !tbaa !46
  %248 = load ptr, ptr %10, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.s_atm, ptr %248, i32 0, i32 28
  %250 = load i8, ptr %249, align 8, !tbaa !47
  %251 = load ptr, ptr %10, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.s_atm, ptr %251, i32 0, i32 5
  %253 = load float, ptr %252, align 4, !tbaa !48
  %254 = load ptr, ptr %10, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.s_atm, ptr %254, i32 0, i32 6
  %256 = load float, ptr %255, align 8, !tbaa !49
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.s_atm, ptr %257, i32 0, i32 7
  %259 = load float, ptr %258, align 4, !tbaa !50
  %260 = load ptr, ptr %10, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.s_atm, ptr %260, i32 0, i32 26
  %262 = load float, ptr %261, align 8, !tbaa !51
  %263 = load ptr, ptr %10, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.s_atm, ptr %263, i32 0, i32 25
  %265 = load float, ptr %264, align 4, !tbaa !52
  %266 = load ptr, ptr %10, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.s_atm, ptr %266, i32 0, i32 20
  %268 = load i32, ptr %267, align 8, !tbaa !53
  %269 = load ptr, ptr %10, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.s_atm, ptr %269, i32 0, i32 12
  %271 = getelementptr inbounds [3 x i8], ptr %270, i64 0, i64 0
  %272 = load ptr, ptr %10, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.s_atm, ptr %272, i32 0, i32 19
  %274 = load i32, ptr %273, align 4, !tbaa !54
  %275 = load ptr, ptr %10, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.s_atm, ptr %275, i32 0, i32 27
  %277 = load float, ptr %276, align 4, !tbaa !55
  call void @write_pdb_atom_line(ptr noundef %226, ptr noundef %229, i32 noundef %232, ptr noundef %235, i8 noundef signext %238, ptr noundef %241, ptr noundef %244, i32 noundef %247, i8 noundef signext %250, float noundef %253, float noundef %256, float noundef %259, float noundef %262, float noundef %265, i32 noundef %268, ptr noundef %271, i32 noundef %274, float noundef %277)
  br label %278

278:                                              ; preds = %220
  %279 = load i32, ptr %6, align 4, !tbaa !9
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %6, align 4, !tbaa !9
  br label %216, !llvm.loop !56

281:                                              ; preds = %216
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %282, ptr noundef @.str.7) #4
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = call i32 @fclose(ptr noundef %284)
  br label %297

286:                                              ; preds = %17, %2
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = icmp ne ptr %287, null
  br i1 %288, label %293, label %289

289:                                              ; preds = %286
  %290 = load ptr, ptr @stderr, align 8, !tbaa !5
  %291 = load ptr, ptr %3, align 8, !tbaa !5
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef @.str.5, ptr noundef %291) #4
  br label %296

293:                                              ; preds = %286
  %294 = load ptr, ptr @stderr, align 8, !tbaa !5
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %294, ptr noundef @.str.8) #4
  br label %296

296:                                              ; preds = %293, %289
  br label %297

297:                                              ; preds = %296, %281
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  call void @my_free(ptr noundef %298)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

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

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

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

declare i32 @fclose(ptr noundef) #3

declare ptr @my_malloc(i64 noundef) #3

declare void @write_pdb_atom_line(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i8 noundef signext, ptr noundef, ptr noundef, i32 noundef, i8 noundef signext, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) #3

declare void @my_free(ptr noundef) #3

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

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

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

!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, !6, i64 8}
!12 = !{!"s_pocket", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !7, i64 32, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"c_lst_vertices", !6, i64 0, !6, i64 8, !6, i64 16, !16, i64 24}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !6, i64 16}
!18 = !{!"node_vertice", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!20, !10, i64 0}
!20 = !{!"s_vvertice", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !10, i64 36, !10, i64 40, !7, i64 44, !7, i64 64, !7, i64 96, !13, i64 108}
!21 = !{!12, !13, i64 16}
!22 = !{!12, !6, i64 0}
!23 = !{!24, !13, i64 208}
!24 = !{!"s_desc", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !10, i64 108, !7, i64 112, !10, i64 192, !10, i64 196, !10, i64 200, !13, i64 204, !13, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !7, i64 232, !7, i64 487, !7, i64 742}
!25 = !{!24, !10, i64 192}
!26 = !{!24, !13, i64 20}
!27 = !{!24, !13, i64 24}
!28 = !{!24, !13, i64 44}
!29 = !{!24, !13, i64 0}
!30 = !{!24, !10, i64 196}
!31 = !{!24, !13, i64 4}
!32 = !{!24, !13, i64 8}
!33 = !{!24, !13, i64 12}
!34 = !{!24, !10, i64 200}
!35 = !{!24, !13, i64 32}
!36 = !{!12, !10, i64 52}
!37 = !{!24, !13, i64 28}
!38 = !{!39, !10, i64 88}
!39 = !{!"s_atm", !10, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, 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, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !7, i64 144, !7, i64 145, !13, i64 148, !13, i64 152, !13, i64 156, !13, i64 160, !40, i64 164, !6, i64 168, !10, i64 176}
!40 = !{!"short", !7, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!18, !6, i64 0}
!44 = distinct !{!44, !42}
!45 = !{!39, !7, i64 145}
!46 = !{!39, !10, i64 96}
!47 = !{!39, !7, i64 144}
!48 = !{!39, !13, i64 20}
!49 = !{!39, !13, i64 24}
!50 = !{!39, !13, i64 28}
!51 = !{!39, !13, i64 136}
!52 = !{!39, !13, i64 132}
!53 = !{!39, !10, i64 112}
!54 = !{!39, !10, i64 108}
!55 = !{!39, !13, i64 140}
!56 = distinct !{!56, !42}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [54 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @write_pocket_pdb(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
  %3 = tail call ptr @my_malloc(i64 noundef 80) #3
  %4 = tail call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.6)
  %5 = icmp ne ptr %4, null
  %6 = icmp ne ptr %1, null
  %or.cond = and i1 %6, %5
  br i1 %or.cond, label %7, label %206

7:                                                ; preds = %2
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.15) #3
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.37) #3
  %10 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.38) #3
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.21) #3
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !12
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = load i32, ptr %16, align 8, !tbaa !17
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.22, i32 noundef %17) #3
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = load float, ptr %19, align 8, !tbaa !19
  %21 = fpext float %20 to double
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.23, double noundef %21) #3
  %23 = load ptr, ptr %1, align 8, !tbaa !20
  %24 = getelementptr inbounds i8, ptr %23, i64 208
  %25 = load float, ptr %24, align 4, !tbaa !21
  %26 = fpext float %25 to double
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.24, double noundef %26) #3
  %28 = load ptr, ptr %1, align 8, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %28, i64 192
  %30 = load i32, ptr %29, align 4, !tbaa !23
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.39, i32 noundef %30) #3
  %32 = load ptr, ptr %1, align 8, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %32, i64 20
  %34 = load float, ptr %33, align 4, !tbaa !24
  %35 = fpext float %34 to double
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.26, double noundef %35) #3
  %37 = load ptr, ptr %1, align 8, !tbaa !20
  %38 = getelementptr inbounds i8, ptr %37, i64 24
  %39 = load float, ptr %38, align 4, !tbaa !25
  %40 = fpext float %39 to double
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.40, double noundef %40) #3
  %42 = load ptr, ptr %1, align 8, !tbaa !20
  %43 = getelementptr inbounds i8, ptr %42, i64 44
  %44 = load float, ptr %43, align 4, !tbaa !26
  %45 = fpext float %44 to double
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.41, double noundef %45) #3
  %47 = load ptr, ptr %1, align 8, !tbaa !20
  %48 = load float, ptr %47, align 4, !tbaa !27
  %49 = fpext float %48 to double
  %50 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.29, double noundef %49) #3
  %51 = load ptr, ptr %1, align 8, !tbaa !20
  %52 = getelementptr inbounds i8, ptr %51, i64 196
  %53 = load i32, ptr %52, align 4, !tbaa !28
  %54 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.30, i32 noundef %53) #3
  %55 = load ptr, ptr %1, align 8, !tbaa !20
  %56 = getelementptr inbounds i8, ptr %55, i64 4
  %57 = load float, ptr %56, align 4, !tbaa !29
  %58 = fpext float %57 to double
  %59 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.42, double noundef %58) #3
  %60 = load ptr, ptr %1, align 8, !tbaa !20
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = load float, ptr %61, align 4, !tbaa !30
  %63 = fpext float %62 to double
  %64 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.43, double noundef %63) #3
  %65 = load ptr, ptr %1, align 8, !tbaa !20
  %66 = getelementptr inbounds i8, ptr %65, i64 12
  %67 = load float, ptr %66, align 4, !tbaa !31
  %68 = fpext float %67 to double
  %69 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.44, double noundef %68) #3
  %70 = load ptr, ptr %1, align 8, !tbaa !20
  %71 = getelementptr inbounds i8, ptr %70, i64 200
  %72 = load i32, ptr %71, align 4, !tbaa !32
  %73 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.45, i32 noundef %72) #3
  %74 = load ptr, ptr %1, align 8, !tbaa !20
  %75 = getelementptr inbounds i8, ptr %74, i64 32
  %76 = load float, ptr %75, align 4, !tbaa !33
  %77 = fpext float %76 to double
  %78 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.46, double noundef %77) #3
  %79 = getelementptr inbounds i8, ptr %1, i64 52
  %80 = load i32, ptr %79, align 4, !tbaa !34
  %81 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.47, i32 noundef %80) #3
  %82 = load ptr, ptr %1, align 8, !tbaa !20
  %83 = getelementptr inbounds i8, ptr %82, i64 28
  %84 = load float, ptr %83, align 4, !tbaa !35
  %85 = fpext float %84 to double
  %86 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.48, double noundef %85) #3
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %.0105 = load ptr, ptr %87, align 8, !tbaa !36
  %.not106 = icmp eq ptr %.0105, null
  br i1 %.not106, label %._crit_edge, label %.preheader100

.preheader100:                                    ; preds = %7, %.loopexit
  %.0110 = phi ptr [ %.0, %.loopexit ], [ %.0105, %7 ]
  %.086109 = phi ptr [ %.3.3, %.loopexit ], [ %3, %7 ]
  %.087108 = phi i32 [ %.390.3, %.loopexit ], [ 10, %7 ]
  %.091107 = phi i32 [ %.293.3, %.loopexit ], [ 0, %7 ]
  %88 = getelementptr inbounds i8, ptr %.0110, i64 16
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  %90 = getelementptr inbounds i8, ptr %89, i64 64
  %91 = load ptr, ptr %90, align 8, !tbaa !36
  %92 = getelementptr inbounds i8, ptr %91, i64 88
  %93 = load i32, ptr %92, align 8, !tbaa !37
  %94 = tail call i32 @is_in_lst_atm(ptr noundef %.086109, i32 noundef %.091107, i32 noundef %93) #3
  %.not98 = icmp eq i32 %94, 0
  br i1 %.not98, label %96, label %110

.preheader:                                       ; preds = %.loopexit
  %95 = icmp sgt i32 %.293.3, 0
  br i1 %95, label %.lr.ph.preheader, label %._crit_edge

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

96:                                               ; preds = %.preheader100
  %97 = add nsw i32 %.087108, -1
  %.not99 = icmp slt i32 %.091107, %97
  br i1 %.not99, label %103, label %98

98:                                               ; preds = %96
  %99 = shl nsw i32 %.087108, 1
  %100 = sext i32 %99 to i64
  %101 = mul nsw i64 %100, 184
  %102 = tail call ptr @my_realloc(ptr noundef %.086109, i64 noundef %101) #3
  br label %103

103:                                              ; preds = %98, %96
  %.289 = phi i32 [ %99, %98 ], [ %.087108, %96 ]
  %.2 = phi ptr [ %102, %98 ], [ %.086109, %96 ]
  %104 = load ptr, ptr %88, align 8, !tbaa !15
  %105 = getelementptr inbounds i8, ptr %104, i64 64
  %106 = load ptr, ptr %105, align 8, !tbaa !36
  %107 = sext i32 %.091107 to i64
  %108 = getelementptr inbounds ptr, ptr %.2, i64 %107
  store ptr %106, ptr %108, align 8, !tbaa !36
  %109 = add nsw i32 %.091107, 1
  br label %110

110:                                              ; preds = %.preheader100, %103
  %.293 = phi i32 [ %.091107, %.preheader100 ], [ %109, %103 ]
  %.390 = phi i32 [ %.087108, %.preheader100 ], [ %.289, %103 ]
  %.3 = phi ptr [ %.086109, %.preheader100 ], [ %.2, %103 ]
  %111 = load ptr, ptr %88, align 8, !tbaa !15
  %112 = getelementptr inbounds i8, ptr %111, i64 72
  %113 = load ptr, ptr %112, align 8, !tbaa !36
  %114 = getelementptr inbounds i8, ptr %113, i64 88
  %115 = load i32, ptr %114, align 8, !tbaa !37
  %116 = tail call i32 @is_in_lst_atm(ptr noundef %.3, i32 noundef %.293, i32 noundef %115) #3
  %.not98.1 = icmp eq i32 %116, 0
  br i1 %.not98.1, label %117, label %131

117:                                              ; preds = %110
  %118 = add nsw i32 %.390, -1
  %.not99.1 = icmp slt i32 %.293, %118
  br i1 %.not99.1, label %124, label %119

119:                                              ; preds = %117
  %120 = shl nsw i32 %.390, 1
  %121 = sext i32 %120 to i64
  %122 = mul nsw i64 %121, 184
  %123 = tail call ptr @my_realloc(ptr noundef %.3, i64 noundef %122) #3
  br label %124

124:                                              ; preds = %119, %117
  %.289.1 = phi i32 [ %120, %119 ], [ %.390, %117 ]
  %.2.1 = phi ptr [ %123, %119 ], [ %.3, %117 ]
  %125 = load ptr, ptr %88, align 8, !tbaa !15
  %126 = getelementptr inbounds i8, ptr %125, i64 72
  %127 = load ptr, ptr %126, align 8, !tbaa !36
  %128 = sext i32 %.293 to i64
  %129 = getelementptr inbounds ptr, ptr %.2.1, i64 %128
  store ptr %127, ptr %129, align 8, !tbaa !36
  %130 = add nsw i32 %.293, 1
  br label %131

131:                                              ; preds = %124, %110
  %.293.1 = phi i32 [ %.293, %110 ], [ %130, %124 ]
  %.390.1 = phi i32 [ %.390, %110 ], [ %.289.1, %124 ]
  %.3.1 = phi ptr [ %.3, %110 ], [ %.2.1, %124 ]
  %132 = load ptr, ptr %88, align 8, !tbaa !15
  %133 = getelementptr inbounds i8, ptr %132, i64 80
  %134 = load ptr, ptr %133, align 8, !tbaa !36
  %135 = getelementptr inbounds i8, ptr %134, i64 88
  %136 = load i32, ptr %135, align 8, !tbaa !37
  %137 = tail call i32 @is_in_lst_atm(ptr noundef %.3.1, i32 noundef %.293.1, i32 noundef %136) #3
  %.not98.2 = icmp eq i32 %137, 0
  br i1 %.not98.2, label %138, label %152

138:                                              ; preds = %131
  %139 = add nsw i32 %.390.1, -1
  %.not99.2 = icmp slt i32 %.293.1, %139
  br i1 %.not99.2, label %145, label %140

140:                                              ; preds = %138
  %141 = shl nsw i32 %.390.1, 1
  %142 = sext i32 %141 to i64
  %143 = mul nsw i64 %142, 184
  %144 = tail call ptr @my_realloc(ptr noundef %.3.1, i64 noundef %143) #3
  br label %145

145:                                              ; preds = %140, %138
  %.289.2 = phi i32 [ %141, %140 ], [ %.390.1, %138 ]
  %.2.2 = phi ptr [ %144, %140 ], [ %.3.1, %138 ]
  %146 = load ptr, ptr %88, align 8, !tbaa !15
  %147 = getelementptr inbounds i8, ptr %146, i64 80
  %148 = load ptr, ptr %147, align 8, !tbaa !36
  %149 = sext i32 %.293.1 to i64
  %150 = getelementptr inbounds ptr, ptr %.2.2, i64 %149
  store ptr %148, ptr %150, align 8, !tbaa !36
  %151 = add nsw i32 %.293.1, 1
  br label %152

152:                                              ; preds = %145, %131
  %.293.2 = phi i32 [ %.293.1, %131 ], [ %151, %145 ]
  %.390.2 = phi i32 [ %.390.1, %131 ], [ %.289.2, %145 ]
  %.3.2 = phi ptr [ %.3.1, %131 ], [ %.2.2, %145 ]
  %153 = load ptr, ptr %88, align 8, !tbaa !15
  %154 = getelementptr inbounds i8, ptr %153, i64 88
  %155 = load ptr, ptr %154, align 8, !tbaa !36
  %156 = getelementptr inbounds i8, ptr %155, i64 88
  %157 = load i32, ptr %156, align 8, !tbaa !37
  %158 = tail call i32 @is_in_lst_atm(ptr noundef %.3.2, i32 noundef %.293.2, i32 noundef %157) #3
  %.not98.3 = icmp eq i32 %158, 0
  br i1 %.not98.3, label %159, label %.loopexit

159:                                              ; preds = %152
  %160 = add nsw i32 %.390.2, -1
  %.not99.3 = icmp slt i32 %.293.2, %160
  br i1 %.not99.3, label %166, label %161

161:                                              ; preds = %159
  %162 = shl nsw i32 %.390.2, 1
  %163 = sext i32 %162 to i64
  %164 = mul nsw i64 %163, 184
  %165 = tail call ptr @my_realloc(ptr noundef %.3.2, i64 noundef %164) #3
  br label %166

166:                                              ; preds = %161, %159
  %.289.3 = phi i32 [ %162, %161 ], [ %.390.2, %159 ]
  %.2.3 = phi ptr [ %165, %161 ], [ %.3.2, %159 ]
  %167 = load ptr, ptr %88, align 8, !tbaa !15
  %168 = getelementptr inbounds i8, ptr %167, i64 88
  %169 = load ptr, ptr %168, align 8, !tbaa !36
  %170 = sext i32 %.293.2 to i64
  %171 = getelementptr inbounds ptr, ptr %.2.3, i64 %170
  store ptr %169, ptr %171, align 8, !tbaa !36
  %172 = add nsw i32 %.293.2, 1
  br label %.loopexit

.loopexit:                                        ; preds = %166, %152
  %.293.3 = phi i32 [ %.293.2, %152 ], [ %172, %166 ]
  %.390.3 = phi i32 [ %.390.2, %152 ], [ %.289.3, %166 ]
  %.3.3 = phi ptr [ %.3.2, %152 ], [ %.2.3, %166 ]
  %.0 = load ptr, ptr %.0110, align 8, !tbaa !36
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %.preheader, label %.preheader100, !llvm.loop !40

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %173 = getelementptr inbounds ptr, ptr %.3.3, i64 %indvars.iv
  %174 = load ptr, ptr %173, align 8, !tbaa !36
  %175 = getelementptr inbounds i8, ptr %174, i64 37
  %176 = getelementptr inbounds i8, ptr %174, i64 88
  %177 = load i32, ptr %176, align 8, !tbaa !37
  %178 = getelementptr inbounds i8, ptr %174, i64 32
  %179 = getelementptr inbounds i8, ptr %174, i64 145
  %180 = load i8, ptr %179, align 1, !tbaa !42
  %181 = getelementptr inbounds i8, ptr %174, i64 79
  %182 = getelementptr inbounds i8, ptr %174, i64 44
  %183 = getelementptr inbounds i8, ptr %174, i64 96
  %184 = load i32, ptr %183, align 8, !tbaa !43
  %185 = getelementptr inbounds i8, ptr %174, i64 144
  %186 = load i8, ptr %185, align 8, !tbaa !44
  %187 = getelementptr inbounds i8, ptr %174, i64 20
  %188 = load float, ptr %187, align 4, !tbaa !45
  %189 = getelementptr inbounds i8, ptr %174, i64 24
  %190 = load float, ptr %189, align 8, !tbaa !46
  %191 = getelementptr inbounds i8, ptr %174, i64 28
  %192 = load float, ptr %191, align 4, !tbaa !47
  %193 = getelementptr inbounds i8, ptr %174, i64 136
  %194 = load float, ptr %193, align 8, !tbaa !48
  %195 = getelementptr inbounds i8, ptr %174, i64 132
  %196 = load float, ptr %195, align 4, !tbaa !49
  %197 = getelementptr inbounds i8, ptr %174, i64 112
  %198 = load i32, ptr %197, align 8, !tbaa !50
  %199 = getelementptr inbounds i8, ptr %174, i64 76
  %200 = getelementptr inbounds i8, ptr %174, i64 108
  %201 = load i32, ptr %200, align 4, !tbaa !51
  %202 = getelementptr inbounds i8, ptr %174, i64 140
  %203 = load float, ptr %202, align 4, !tbaa !52
  tail call void @write_pdb_atom_line(ptr noundef %4, ptr noundef nonnull %175, i32 noundef %177, ptr noundef nonnull %178, i8 noundef signext %180, ptr noundef nonnull %181, ptr noundef nonnull %182, i32 noundef %184, i8 noundef signext %186, float noundef %188, float noundef %190, float noundef %192, float noundef %194, float noundef %196, i32 noundef %198, ptr noundef nonnull %199, i32 noundef %201, float noundef %203) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !53

._crit_edge:                                      ; preds = %.lr.ph, %7, %.preheader
  %.086.lcssa117 = phi ptr [ %.3.3, %.preheader ], [ %3, %7 ], [ %.3.3, %.lr.ph ]
  %204 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.7) #3
  %205 = tail call i32 @fclose(ptr noundef %4)
  br label %212

206:                                              ; preds = %2
  %207 = load ptr, ptr @stderr, align 8, !tbaa !36
  br i1 %5, label %210, label %208

208:                                              ; preds = %206
  %209 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef nonnull @.str.5, ptr noundef %0) #4
  br label %212

210:                                              ; preds = %206
  %211 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef nonnull @.str.8) #4
  br label %212

212:                                              ; preds = %208, %210, %._crit_edge
  %.4 = phi ptr [ %.086.lcssa117, %._crit_edge ], [ %3, %210 ], [ %3, %208 ]
  tail call void @my_free(ptr noundef %.4) #3
  ret void
}

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

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

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

declare ptr @my_malloc(i64 noundef) local_unnamed_addr #2

declare void @write_pdb_atom_line(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i8 noundef signext, ptr noundef, ptr noundef, i32 noundef, i8 noundef signext, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) local_unnamed_addr #2

declare void @my_free(ptr noundef) local_unnamed_addr #2

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

declare ptr @my_realloc(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"s_pocket", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !8, i64 32, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"c_lst_vertices", !7, i64 0, !7, i64 8, !7, i64 16, !14, i64 24}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !7, i64 16}
!16 = !{!"node_vertice", !7, i64 0, !7, i64 8, !7, i64 16}
!17 = !{!18, !11, i64 0}
!18 = !{!"s_vvertice", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 36, !11, i64 40, !8, i64 44, !8, i64 64, !8, i64 96, !10, i64 108}
!19 = !{!6, !10, i64 16}
!20 = !{!6, !7, i64 0}
!21 = !{!22, !10, i64 208}
!22 = !{!"s_desc", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !11, i64 108, !8, i64 112, !11, i64 192, !11, i64 196, !11, i64 200, !10, i64 204, !10, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !8, i64 232, !8, i64 487, !8, i64 742}
!23 = !{!22, !11, i64 192}
!24 = !{!22, !10, i64 20}
!25 = !{!22, !10, i64 24}
!26 = !{!22, !10, i64 44}
!27 = !{!22, !10, i64 0}
!28 = !{!22, !11, i64 196}
!29 = !{!22, !10, i64 4}
!30 = !{!22, !10, i64 8}
!31 = !{!22, !10, i64 12}
!32 = !{!22, !11, i64 200}
!33 = !{!22, !10, i64 32}
!34 = !{!6, !11, i64 52}
!35 = !{!22, !10, i64 28}
!36 = !{!7, !7, i64 0}
!37 = !{!38, !11, i64 88}
!38 = !{!"s_atm", !11, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !8, i64 32, !8, i64 37, !8, i64 44, !8, i64 60, !8, i64 76, !8, i64 79, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !8, i64 144, !8, i64 145, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !39, i64 164, !7, i64 168, !11, i64 176}
!39 = !{!"short", !8, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!38, !8, i64 145}
!43 = !{!38, !11, i64 96}
!44 = !{!38, !8, i64 144}
!45 = !{!38, !10, i64 20}
!46 = !{!38, !10, i64 24}
!47 = !{!38, !10, i64 28}
!48 = !{!38, !10, i64 136}
!49 = !{!38, !10, i64 132}
!50 = !{!38, !11, i64 112}
!51 = !{!38, !11, i64 108}
!52 = !{!38, !10, i64 140}
!53 = distinct !{!53, !41}


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