; LLVM IR from ETH3D/dataset-pipeline :: thirdparty/cork/cork/isct (triangle)

; 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.otri = type { ptr, i32 }
%struct.osub = type { ptr, i32 }
%struct.behavior = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8] }
%struct.mesh = type { %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, [4096 x ptr], [4096 x ptr], [4096 x i32], i32, ptr, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.otri }
%struct.memorypool = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32 }

@plus1mod3 = external dso_local global [3 x i32], align 4
@minus1mod3 = external dso_local global [3 x i32], align 4
@.str.1078 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1079 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1080 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1089 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1095 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1096 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @triexit(i32 noundef) #1

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
declare dso_local void @traversalinit(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @triangletraverse(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @finishfile(ptr noundef, i32 noundef, ptr noundef) #1

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

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

24:                                               ; preds = %5
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1078, ptr noundef %25)
  br label %27

27:                                               ; preds = %24, %5
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = call noalias ptr @fopen(ptr noundef %28, ptr noundef @.str.1079)
  store ptr %29, ptr %11, align 8, !tbaa !5
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %35

32:                                               ; preds = %27
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1080, ptr noundef %33)
  call void @triexit(i32 noundef 1)
  br label %35

35:                                               ; preds = %32, %27
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.mesh, ptr %37, i32 0, i32 24
  %39 = load i64, ptr %38, align 8, !tbaa !14
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.behavior, ptr %40, i32 0, i32 15
  %42 = load i32, ptr %41, align 4, !tbaa !19
  %43 = sub nsw i32 1, %42
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.1089, i64 noundef %39, i32 noundef %43) #4
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.mesh, ptr %45, i32 0, i32 0
  call void @traversalinit(ptr noundef %46)
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = call ptr @triangletraverse(ptr noundef %47)
  %49 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  store ptr %48, ptr %49, align 8, !tbaa !20
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.behavior, ptr %50, i32 0, i32 10
  %52 = load i32, ptr %51, align 8, !tbaa !21
  %53 = sext i32 %52 to i64
  store i64 %53, ptr %17, align 8, !tbaa !22
  br label %54

54:                                               ; preds = %247, %35
  %55 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %251

58:                                               ; preds = %54
  %59 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  store i32 0, ptr %59, align 8, !tbaa !23
  br label %60

60:                                               ; preds = %243, %58
  %61 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  %62 = load i32, ptr %61, align 8, !tbaa !23
  %63 = icmp slt i32 %62, 3
  br i1 %63, label %64, label %247

64:                                               ; preds = %60
  %65 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !20
  %67 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  %68 = load i32, ptr %67, align 8, !tbaa !23
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds ptr, ptr %66, i64 %69
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  store ptr %71, ptr %18, align 8, !tbaa !5
  %72 = load ptr, ptr %18, align 8, !tbaa !5
  %73 = ptrtoint ptr %72 to i64
  %74 = and i64 %73, 3
  %75 = trunc i64 %74 to i32
  %76 = getelementptr inbounds %struct.otri, ptr %13, i32 0, i32 1
  store i32 %75, ptr %76, align 8, !tbaa !23
  %77 = load ptr, ptr %18, align 8, !tbaa !5
  %78 = ptrtoint ptr %77 to i64
  %79 = getelementptr inbounds %struct.otri, ptr %13, i32 0, i32 1
  %80 = load i32, ptr %79, align 8, !tbaa !23
  %81 = sext i32 %80 to i64
  %82 = xor i64 %78, %81
  %83 = inttoptr i64 %82 to ptr
  %84 = getelementptr inbounds %struct.otri, ptr %13, i32 0, i32 0
  store ptr %83, ptr %84, align 8, !tbaa !20
  %85 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !20
  %87 = getelementptr inbounds %struct.otri, ptr %13, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !20
  %89 = icmp ult ptr %86, %88
  br i1 %89, label %97, label %90

90:                                               ; preds = %64
  %91 = getelementptr inbounds %struct.otri, ptr %13, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !20
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.mesh, ptr %93, i32 0, i32 48
  %95 = load ptr, ptr %94, align 8, !tbaa !24
  %96 = icmp eq ptr %92, %95
  br i1 %96, label %97, label %242

97:                                               ; preds = %90, %64
  %98 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !20
  %100 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  %101 = load i32, ptr %100, align 8, !tbaa !23
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [3 x i32], ptr @plus1mod3, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !9
  %105 = add nsw i32 %104, 3
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %99, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  store ptr %108, ptr %15, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !20
  %111 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  %112 = load i32, ptr %111, align 8, !tbaa !23
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [3 x i32], ptr @minus1mod3, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = add nsw i32 %115, 3
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds ptr, ptr %110, i64 %117
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  store ptr %119, ptr %16, align 8, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.behavior, ptr %120, i32 0, i32 15
  %122 = load i32, ptr %121, align 4, !tbaa !19
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %142

124:                                              ; preds = %97
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = load i64, ptr %17, align 8, !tbaa !22
  %127 = load ptr, ptr %15, align 8, !tbaa !5
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.mesh, ptr %128, i32 0, i32 30
  %130 = load i32, ptr %129, align 4, !tbaa !25
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds i32, ptr %127, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !9
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.mesh, ptr %135, i32 0, i32 30
  %137 = load i32, ptr %136, align 4, !tbaa !25
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds i32, ptr %134, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !9
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.1095, i64 noundef %126, i32 noundef %133, i32 noundef %140) #4
  br label %239

142:                                              ; preds = %97
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.behavior, ptr %143, i32 0, i32 30
  %145 = load i32, ptr %144, align 8, !tbaa !26
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %213

147:                                              ; preds = %142
  %148 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8, !tbaa !20
  %150 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  %151 = load i32, ptr %150, align 8, !tbaa !23
  %152 = add nsw i32 6, %151
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds ptr, ptr %149, i64 %153
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  store ptr %155, ptr %19, align 8, !tbaa !5
  %156 = load ptr, ptr %19, align 8, !tbaa !5
  %157 = ptrtoint ptr %156 to i64
  %158 = and i64 %157, 1
  %159 = trunc i64 %158 to i32
  %160 = getelementptr inbounds %struct.osub, ptr %14, i32 0, i32 1
  store i32 %159, ptr %160, align 8, !tbaa !27
  %161 = load ptr, ptr %19, align 8, !tbaa !5
  %162 = ptrtoint ptr %161 to i64
  %163 = and i64 %162, -4
  %164 = inttoptr i64 %163 to ptr
  %165 = getelementptr inbounds %struct.osub, ptr %14, i32 0, i32 0
  store ptr %164, ptr %165, align 8, !tbaa !29
  %166 = getelementptr inbounds %struct.osub, ptr %14, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !29
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.mesh, ptr %168, i32 0, i32 50
  %170 = load ptr, ptr %169, align 8, !tbaa !30
  %171 = icmp eq ptr %167, %170
  br i1 %171, label %172, label %190

172:                                              ; preds = %147
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = load i64, ptr %17, align 8, !tbaa !22
  %175 = load ptr, ptr %15, align 8, !tbaa !5
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.mesh, ptr %176, i32 0, i32 30
  %178 = load i32, ptr %177, align 4, !tbaa !25
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds i32, ptr %175, i64 %179
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = load ptr, ptr %16, align 8, !tbaa !5
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.mesh, ptr %183, i32 0, i32 30
  %185 = load i32, ptr %184, align 4, !tbaa !25
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds i32, ptr %182, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !9
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.1096, i64 noundef %174, i32 noundef %181, i32 noundef %188, i32 noundef 0) #4
  br label %212

190:                                              ; preds = %147
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = load i64, ptr %17, align 8, !tbaa !22
  %193 = load ptr, ptr %15, align 8, !tbaa !5
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.mesh, ptr %194, i32 0, i32 30
  %196 = load i32, ptr %195, align 4, !tbaa !25
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds i32, ptr %193, i64 %197
  %199 = load i32, ptr %198, align 4, !tbaa !9
  %200 = load ptr, ptr %16, align 8, !tbaa !5
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.mesh, ptr %201, i32 0, i32 30
  %203 = load i32, ptr %202, align 4, !tbaa !25
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds i32, ptr %200, i64 %204
  %206 = load i32, ptr %205, align 4, !tbaa !9
  %207 = getelementptr inbounds %struct.osub, ptr %14, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !29
  %209 = getelementptr inbounds ptr, ptr %208, i64 8
  %210 = load i32, ptr %209, align 4, !tbaa !9
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.1096, i64 noundef %192, i32 noundef %199, i32 noundef %206, i32 noundef %210) #4
  br label %212

212:                                              ; preds = %190, %172
  br label %238

213:                                              ; preds = %142
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  %215 = load i64, ptr %17, align 8, !tbaa !22
  %216 = load ptr, ptr %15, align 8, !tbaa !5
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.mesh, ptr %217, i32 0, i32 30
  %219 = load i32, ptr %218, align 4, !tbaa !25
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds i32, ptr %216, i64 %220
  %222 = load i32, ptr %221, align 4, !tbaa !9
  %223 = load ptr, ptr %16, align 8, !tbaa !5
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.mesh, ptr %224, i32 0, i32 30
  %226 = load i32, ptr %225, align 4, !tbaa !25
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds i32, ptr %223, i64 %227
  %229 = load i32, ptr %228, align 4, !tbaa !9
  %230 = getelementptr inbounds %struct.otri, ptr %13, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !20
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.mesh, ptr %232, i32 0, i32 48
  %234 = load ptr, ptr %233, align 8, !tbaa !24
  %235 = icmp eq ptr %231, %234
  %236 = zext i1 %235 to i32
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef @.str.1096, i64 noundef %215, i32 noundef %222, i32 noundef %229, i32 noundef %236) #4
  br label %238

238:                                              ; preds = %213, %212
  br label %239

239:                                              ; preds = %238, %124
  %240 = load i64, ptr %17, align 8, !tbaa !22
  %241 = add nsw i64 %240, 1
  store i64 %241, ptr %17, align 8, !tbaa !22
  br label %242

242:                                              ; preds = %239, %90
  br label %243

243:                                              ; preds = %242
  %244 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 1
  %245 = load i32, ptr %244, align 8, !tbaa !23
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %244, align 8, !tbaa !23
  br label %60, !llvm.loop !31

247:                                              ; preds = %60
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = call ptr @triangletraverse(ptr noundef %248)
  %250 = getelementptr inbounds %struct.otri, ptr %12, i32 0, i32 0
  store ptr %249, ptr %250, align 8, !tbaa !20
  br label %54, !llvm.loop !33

251:                                              ; preds = %54
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  %253 = load i32, ptr %9, align 4, !tbaa !9
  %254 = load ptr, ptr %10, align 8, !tbaa !5
  call void @finishfile(ptr noundef %252, i32 noundef %253, ptr noundef %254)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  ret void
}

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 = { "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 "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, !10, i64 112}
!12 = !{!"behavior", !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, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !7, i64 168, !7, i64 2216, !7, i64 4264, !7, i64 6312, !7, i64 8360, !7, i64 10408, !7, i64 12456, !7, i64 14504, !7, i64 16552, !7, i64 18600, !7, i64 20648, !7, i64 22696}
!13 = !{!"double", !7, i64 0}
!14 = !{!15, !17, i64 82704}
!15 = !{!"mesh", !16, i64 0, !16, i64 88, !16, i64 176, !16, i64 264, !16, i64 352, !16, i64 440, !16, i64 528, !16, i64 616, !7, i64 704, !7, i64 33472, !7, i64 66240, !10, i64 82624, !6, i64 82632, !13, i64 82640, !13, i64 82648, !13, i64 82656, !13, i64 82664, !13, i64 82672, !10, i64 82680, !10, i64 82684, !10, i64 82688, !10, i64 82692, !10, i64 82696, !10, i64 82700, !17, i64 82704, !10, i64 82712, !10, i64 82716, !10, i64 82720, !17, i64 82728, !10, i64 82736, !10, i64 82740, !10, i64 82744, !10, i64 82748, !10, i64 82752, !10, i64 82756, !10, i64 82760, !10, i64 82764, !10, i64 82768, !17, i64 82776, !17, i64 82784, !17, i64 82792, !17, i64 82800, !17, i64 82808, !17, i64 82816, !17, i64 82824, !6, i64 82832, !6, i64 82840, !6, i64 82848, !6, i64 82856, !6, i64 82864, !6, i64 82872, !6, i64 82880, !18, i64 82888}
!16 = !{!"memorypool", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !17, i64 64, !17, i64 72, !10, i64 80, !10, i64 84}
!17 = !{!"long", !7, i64 0}
!18 = !{!"otri", !6, i64 0, !10, i64 8}
!19 = !{!12, !10, i64 60}
!20 = !{!18, !6, i64 0}
!21 = !{!12, !10, i64 40}
!22 = !{!17, !17, i64 0}
!23 = !{!18, !10, i64 8}
!24 = !{!15, !6, i64 82856}
!25 = !{!15, !10, i64 82740}
!26 = !{!12, !10, i64 120}
!27 = !{!28, !10, i64 8}
!28 = !{!"osub", !6, i64 0, !10, i64 8}
!29 = !{!28, !6, i64 0}
!30 = !{!15, !6, i64 82872}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}


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

@plus1mod3 = external dso_local local_unnamed_addr global [3 x i32], align 4
@minus1mod3 = external dso_local local_unnamed_addr global [3 x i32], align 4
@.str.1078 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1079 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1080 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1089 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1095 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1096 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @triexit(i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @triangletraverse(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @finishfile(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @writeedges(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %1, i64 112
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %8, label %10

8:                                                ; preds = %5
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1078, ptr noundef %2)
  br label %10

10:                                               ; preds = %8, %5
  %11 = tail call noalias ptr @fopen(ptr noundef %2, ptr noundef nonnull @.str.1079)
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %15

13:                                               ; preds = %10
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1080, ptr noundef %2)
  tail call void @triexit(i32 noundef 1)
  br label %15

15:                                               ; preds = %13, %10
  %16 = getelementptr inbounds i8, ptr %0, i64 82704
  %17 = load i64, ptr %16, align 8, !tbaa !11
  %18 = getelementptr inbounds i8, ptr %1, i64 60
  %19 = load i32, ptr %18, align 4, !tbaa !17
  %20 = sub nsw i32 1, %19
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1089, i64 noundef %17, i32 noundef %20) #2
  tail call void @traversalinit(ptr noundef %0)
  %22 = tail call ptr @triangletraverse(ptr noundef %0)
  %.not6672 = icmp eq ptr %22, null
  br i1 %.not6672, label %._crit_edge, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %15
  %23 = getelementptr inbounds i8, ptr %1, i64 40
  %24 = load i32, ptr %23, align 8, !tbaa !18
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds i8, ptr %0, i64 82856
  %27 = getelementptr inbounds i8, ptr %0, i64 82740
  %28 = getelementptr inbounds i8, ptr %1, i64 120
  %29 = getelementptr inbounds i8, ptr %0, i64 82872
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %223
  %.sroa.021.074 = phi ptr [ %22, %.preheader.lr.ph ], [ %224, %223 ]
  %.073 = phi i64 [ %25, %.preheader.lr.ph ], [ %.2.2, %223 ]
  %30 = load ptr, ptr %.sroa.021.074, align 8, !tbaa !19
  %31 = ptrtoint ptr %30 to i64
  %32 = and i64 %31, -4
  %33 = inttoptr i64 %32 to ptr
  %34 = icmp ult ptr %.sroa.021.074, %33
  br i1 %34, label %38, label %35

35:                                               ; preds = %.preheader
  %36 = load ptr, ptr %26, align 8, !tbaa !20
  %37 = icmp eq ptr %36, %33
  br i1 %37, label %38, label %93

38:                                               ; preds = %35, %.preheader
  %39 = load i32, ptr @plus1mod3, align 4, !tbaa !21
  %40 = add nsw i32 %39, 3
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %.sroa.021.074, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !19
  %44 = load i32, ptr @minus1mod3, align 4, !tbaa !21
  %45 = add nsw i32 %44, 3
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds ptr, ptr %.sroa.021.074, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !19
  %49 = load i32, ptr %18, align 4, !tbaa !17
  %.not67 = icmp eq i32 %49, 0
  br i1 %.not67, label %58, label %50

50:                                               ; preds = %38
  %51 = load i32, ptr %27, align 4, !tbaa !22
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i32, ptr %43, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !21
  %55 = getelementptr inbounds i32, ptr %48, i64 %52
  %56 = load i32, ptr %55, align 4, !tbaa !21
  %57 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1095, i64 noundef %.073, i32 noundef %54, i32 noundef %56) #2
  br label %91

58:                                               ; preds = %38
  %59 = load i32, ptr %28, align 8, !tbaa !23
  %.not68 = icmp eq i32 %59, 0
  br i1 %.not68, label %80, label %60

60:                                               ; preds = %58
  %61 = getelementptr inbounds i8, ptr %.sroa.021.074, i64 48
  %62 = load ptr, ptr %61, align 8, !tbaa !19
  %63 = ptrtoint ptr %62 to i64
  %64 = and i64 %63, -4
  %65 = inttoptr i64 %64 to ptr
  %66 = load ptr, ptr %29, align 8, !tbaa !24
  %67 = icmp eq ptr %66, %65
  %68 = load i32, ptr %27, align 4, !tbaa !22
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %43, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !21
  %72 = getelementptr inbounds i32, ptr %48, i64 %69
  %73 = load i32, ptr %72, align 4, !tbaa !21
  br i1 %67, label %74, label %76

74:                                               ; preds = %60
  %75 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.073, i32 noundef %71, i32 noundef %73, i32 noundef 0) #2
  br label %91

76:                                               ; preds = %60
  %77 = getelementptr inbounds i8, ptr %65, i64 64
  %78 = load i32, ptr %77, align 4, !tbaa !21
  %79 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.073, i32 noundef %71, i32 noundef %73, i32 noundef %78) #2
  br label %91

80:                                               ; preds = %58
  %81 = load i32, ptr %27, align 4, !tbaa !22
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds i32, ptr %43, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !21
  %85 = getelementptr inbounds i32, ptr %48, i64 %82
  %86 = load i32, ptr %85, align 4, !tbaa !21
  %87 = load ptr, ptr %26, align 8, !tbaa !20
  %88 = icmp eq ptr %87, %33
  %89 = zext i1 %88 to i32
  %90 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.073, i32 noundef %84, i32 noundef %86, i32 noundef %89) #2
  br label %91

91:                                               ; preds = %80, %76, %74, %50
  %92 = add nsw i64 %.073, 1
  br label %93

93:                                               ; preds = %35, %91
  %.2 = phi i64 [ %92, %91 ], [ %.073, %35 ]
  %94 = getelementptr inbounds i8, ptr %.sroa.021.074, i64 8
  %95 = load ptr, ptr %94, align 8, !tbaa !19
  %96 = ptrtoint ptr %95 to i64
  %97 = and i64 %96, -4
  %98 = inttoptr i64 %97 to ptr
  %99 = icmp ult ptr %.sroa.021.074, %98
  br i1 %99, label %103, label %100

100:                                              ; preds = %93
  %101 = load ptr, ptr %26, align 8, !tbaa !20
  %102 = icmp eq ptr %101, %98
  br i1 %102, label %103, label %158

103:                                              ; preds = %100, %93
  %104 = load i32, ptr getelementptr inbounds (i8, ptr @plus1mod3, i64 4), align 4, !tbaa !21
  %105 = add nsw i32 %104, 3
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %.sroa.021.074, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !19
  %109 = load i32, ptr getelementptr inbounds (i8, ptr @minus1mod3, i64 4), align 4, !tbaa !21
  %110 = add nsw i32 %109, 3
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %.sroa.021.074, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !19
  %114 = load i32, ptr %18, align 4, !tbaa !17
  %.not67.1 = icmp eq i32 %114, 0
  br i1 %.not67.1, label %123, label %115

115:                                              ; preds = %103
  %116 = load i32, ptr %27, align 4, !tbaa !22
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %108, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !21
  %120 = getelementptr inbounds i32, ptr %113, i64 %117
  %121 = load i32, ptr %120, align 4, !tbaa !21
  %122 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1095, i64 noundef %.2, i32 noundef %119, i32 noundef %121) #2
  br label %156

123:                                              ; preds = %103
  %124 = load i32, ptr %28, align 8, !tbaa !23
  %.not68.1 = icmp eq i32 %124, 0
  br i1 %.not68.1, label %145, label %125

125:                                              ; preds = %123
  %126 = getelementptr inbounds i8, ptr %.sroa.021.074, i64 56
  %127 = load ptr, ptr %126, align 8, !tbaa !19
  %128 = ptrtoint ptr %127 to i64
  %129 = and i64 %128, -4
  %130 = inttoptr i64 %129 to ptr
  %131 = load ptr, ptr %29, align 8, !tbaa !24
  %132 = icmp eq ptr %131, %130
  %133 = load i32, ptr %27, align 4, !tbaa !22
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds i32, ptr %108, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !21
  %137 = getelementptr inbounds i32, ptr %113, i64 %134
  %138 = load i32, ptr %137, align 4, !tbaa !21
  br i1 %132, label %143, label %139

139:                                              ; preds = %125
  %140 = getelementptr inbounds i8, ptr %130, i64 64
  %141 = load i32, ptr %140, align 4, !tbaa !21
  %142 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.2, i32 noundef %136, i32 noundef %138, i32 noundef %141) #2
  br label %156

143:                                              ; preds = %125
  %144 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.2, i32 noundef %136, i32 noundef %138, i32 noundef 0) #2
  br label %156

145:                                              ; preds = %123
  %146 = load i32, ptr %27, align 4, !tbaa !22
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds i32, ptr %108, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !21
  %150 = getelementptr inbounds i32, ptr %113, i64 %147
  %151 = load i32, ptr %150, align 4, !tbaa !21
  %152 = load ptr, ptr %26, align 8, !tbaa !20
  %153 = icmp eq ptr %152, %98
  %154 = zext i1 %153 to i32
  %155 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.2, i32 noundef %149, i32 noundef %151, i32 noundef %154) #2
  br label %156

156:                                              ; preds = %145, %143, %139, %115
  %157 = add nsw i64 %.2, 1
  br label %158

158:                                              ; preds = %156, %100
  %.2.1 = phi i64 [ %157, %156 ], [ %.2, %100 ]
  %159 = getelementptr inbounds i8, ptr %.sroa.021.074, i64 16
  %160 = load ptr, ptr %159, align 8, !tbaa !19
  %161 = ptrtoint ptr %160 to i64
  %162 = and i64 %161, -4
  %163 = inttoptr i64 %162 to ptr
  %164 = icmp ult ptr %.sroa.021.074, %163
  br i1 %164, label %168, label %165

165:                                              ; preds = %158
  %166 = load ptr, ptr %26, align 8, !tbaa !20
  %167 = icmp eq ptr %166, %163
  br i1 %167, label %168, label %223

168:                                              ; preds = %165, %158
  %169 = load i32, ptr getelementptr inbounds (i8, ptr @plus1mod3, i64 8), align 4, !tbaa !21
  %170 = add nsw i32 %169, 3
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds ptr, ptr %.sroa.021.074, i64 %171
  %173 = load ptr, ptr %172, align 8, !tbaa !19
  %174 = load i32, ptr getelementptr inbounds (i8, ptr @minus1mod3, i64 8), align 4, !tbaa !21
  %175 = add nsw i32 %174, 3
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds ptr, ptr %.sroa.021.074, i64 %176
  %178 = load ptr, ptr %177, align 8, !tbaa !19
  %179 = load i32, ptr %18, align 4, !tbaa !17
  %.not67.2 = icmp eq i32 %179, 0
  br i1 %.not67.2, label %188, label %180

180:                                              ; preds = %168
  %181 = load i32, ptr %27, align 4, !tbaa !22
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds i32, ptr %173, i64 %182
  %184 = load i32, ptr %183, align 4, !tbaa !21
  %185 = getelementptr inbounds i32, ptr %178, i64 %182
  %186 = load i32, ptr %185, align 4, !tbaa !21
  %187 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1095, i64 noundef %.2.1, i32 noundef %184, i32 noundef %186) #2
  br label %221

188:                                              ; preds = %168
  %189 = load i32, ptr %28, align 8, !tbaa !23
  %.not68.2 = icmp eq i32 %189, 0
  br i1 %.not68.2, label %210, label %190

190:                                              ; preds = %188
  %191 = getelementptr inbounds i8, ptr %.sroa.021.074, i64 64
  %192 = load ptr, ptr %191, align 8, !tbaa !19
  %193 = ptrtoint ptr %192 to i64
  %194 = and i64 %193, -4
  %195 = inttoptr i64 %194 to ptr
  %196 = load ptr, ptr %29, align 8, !tbaa !24
  %197 = icmp eq ptr %196, %195
  %198 = load i32, ptr %27, align 4, !tbaa !22
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds i32, ptr %173, i64 %199
  %201 = load i32, ptr %200, align 4, !tbaa !21
  %202 = getelementptr inbounds i32, ptr %178, i64 %199
  %203 = load i32, ptr %202, align 4, !tbaa !21
  br i1 %197, label %208, label %204

204:                                              ; preds = %190
  %205 = getelementptr inbounds i8, ptr %195, i64 64
  %206 = load i32, ptr %205, align 4, !tbaa !21
  %207 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.2.1, i32 noundef %201, i32 noundef %203, i32 noundef %206) #2
  br label %221

208:                                              ; preds = %190
  %209 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.2.1, i32 noundef %201, i32 noundef %203, i32 noundef 0) #2
  br label %221

210:                                              ; preds = %188
  %211 = load i32, ptr %27, align 4, !tbaa !22
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds i32, ptr %173, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !21
  %215 = getelementptr inbounds i32, ptr %178, i64 %212
  %216 = load i32, ptr %215, align 4, !tbaa !21
  %217 = load ptr, ptr %26, align 8, !tbaa !20
  %218 = icmp eq ptr %217, %163
  %219 = zext i1 %218 to i32
  %220 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.1096, i64 noundef %.2.1, i32 noundef %214, i32 noundef %216, i32 noundef %219) #2
  br label %221

221:                                              ; preds = %210, %208, %204, %180
  %222 = add nsw i64 %.2.1, 1
  br label %223

223:                                              ; preds = %221, %165
  %.2.2 = phi i64 [ %222, %221 ], [ %.2.1, %165 ]
  %224 = tail call ptr @triangletraverse(ptr noundef nonnull %0)
  %.not66 = icmp eq ptr %224, null
  br i1 %.not66, label %._crit_edge, label %.preheader, !llvm.loop !25

._crit_edge:                                      ; preds = %223, %15
  tail call void @finishfile(ptr noundef %11, i32 noundef %3, ptr noundef %4)
  ret void
}

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 = { 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 112}
!6 = !{!"behavior", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !8, i64 168, !8, i64 2216, !8, i64 4264, !8, i64 6312, !8, i64 8360, !8, i64 10408, !8, i64 12456, !8, i64 14504, !8, i64 16552, !8, i64 18600, !8, i64 20648, !8, i64 22696}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!12, !15, i64 82704}
!12 = !{!"mesh", !13, i64 0, !13, i64 88, !13, i64 176, !13, i64 264, !13, i64 352, !13, i64 440, !13, i64 528, !13, i64 616, !8, i64 704, !8, i64 33472, !8, i64 66240, !7, i64 82624, !14, i64 82632, !10, i64 82640, !10, i64 82648, !10, i64 82656, !10, i64 82664, !10, i64 82672, !7, i64 82680, !7, i64 82684, !7, i64 82688, !7, i64 82692, !7, i64 82696, !7, i64 82700, !15, i64 82704, !7, i64 82712, !7, i64 82716, !7, i64 82720, !15, i64 82728, !7, i64 82736, !7, i64 82740, !7, i64 82744, !7, i64 82748, !7, i64 82752, !7, i64 82756, !7, i64 82760, !7, i64 82764, !7, i64 82768, !15, i64 82776, !15, i64 82784, !15, i64 82792, !15, i64 82800, !15, i64 82808, !15, i64 82816, !15, i64 82824, !14, i64 82832, !14, i64 82840, !14, i64 82848, !14, i64 82856, !14, i64 82864, !14, i64 82872, !14, i64 82880, !16, i64 82888}
!13 = !{!"memorypool", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !15, i64 64, !15, i64 72, !7, i64 80, !7, i64 84}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!"otri", !14, i64 0, !7, i64 8}
!17 = !{!6, !7, i64 60}
!18 = !{!6, !7, i64 40}
!19 = !{!14, !14, i64 0}
!20 = !{!12, !14, i64 82856}
!21 = !{!7, !7, i64 0}
!22 = !{!12, !7, i64 82740}
!23 = !{!6, !7, i64 120}
!24 = !{!12, !14, i64 82872}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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