; LLVM IR from OpenDiS/OpenDiS :: core/pydis/c/util (Util_subset)

; 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._node = type { i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct._tag, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct._tag = type { i32, i32 }

@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [57 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

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

; Function Attrs: nounwind uwtable
define dso_local void @PrintNode(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = icmp eq ptr %5, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %1
  store i32 1, ptr %4, align 4
  br label %278

8:                                                ; preds = %1
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct._node, ptr %9, i32 0, i32 19
  %11 = getelementptr inbounds %struct._tag, ptr %10, i32 0, i32 0
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._node, ptr %13, i32 0, i32 19
  %15 = getelementptr inbounds %struct._tag, ptr %14, i32 0, i32 1
  %16 = load i32, ptr %15, align 4, !tbaa !14
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._node, ptr %17, i32 0, i32 20
  %19 = load i32, ptr %18, align 8, !tbaa !15
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12, i32 noundef %16, i32 noundef %19)
  store i32 0, ptr %3, align 4, !tbaa !16
  br label %21

21:                                               ; preds = %45, %8
  %22 = load i32, ptr %3, align 4, !tbaa !16
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._node, ptr %23, i32 0, i32 20
  %25 = load i32, ptr %24, align 8, !tbaa !15
  %26 = icmp slt i32 %22, %25
  br i1 %26, label %27, label %48

27:                                               ; preds = %21
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._node, ptr %28, i32 0, i32 21
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = load i32, ptr %3, align 4, !tbaa !16
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds %struct._tag, ptr %30, i64 %32
  %34 = getelementptr inbounds %struct._tag, ptr %33, i32 0, i32 0
  %35 = load i32, ptr %34, align 4, !tbaa !18
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._node, ptr %36, i32 0, i32 21
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = load i32, ptr %3, align 4, !tbaa !16
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds %struct._tag, ptr %38, i64 %40
  %42 = getelementptr inbounds %struct._tag, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 4, !tbaa !19
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35, i32 noundef %43)
  br label %45

45:                                               ; preds = %27
  %46 = load i32, ptr %3, align 4, !tbaa !16
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %3, align 4, !tbaa !16
  br label %21, !llvm.loop !20

48:                                               ; preds = %21
  %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._node, ptr %50, i32 0, i32 19
  %52 = getelementptr inbounds %struct._tag, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !9
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._node, ptr %54, i32 0, i32 19
  %56 = getelementptr inbounds %struct._tag, ptr %55, i32 0, i32 1
  %57 = load i32, ptr %56, align 4, !tbaa !14
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._node, ptr %58, i32 0, i32 1
  %60 = load double, ptr %59, align 8, !tbaa !22
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._node, ptr %61, i32 0, i32 2
  %63 = load double, ptr %62, align 8, !tbaa !23
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._node, ptr %64, i32 0, i32 3
  %66 = load double, ptr %65, align 8, !tbaa !24
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %53, i32 noundef %57, double noundef %60, double noundef %63, double noundef %66)
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct._node, ptr %68, i32 0, i32 19
  %70 = getelementptr inbounds %struct._tag, ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !9
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._node, ptr %72, i32 0, i32 19
  %74 = getelementptr inbounds %struct._tag, ptr %73, i32 0, i32 1
  %75 = load i32, ptr %74, align 4, !tbaa !14
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._node, ptr %76, i32 0, i32 7
  %78 = load double, ptr %77, align 8, !tbaa !25
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._node, ptr %79, i32 0, i32 8
  %81 = load double, ptr %80, align 8, !tbaa !26
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct._node, ptr %82, i32 0, i32 9
  %84 = load double, ptr %83, align 8, !tbaa !27
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %71, i32 noundef %75, double noundef %78, double noundef %81, double noundef %84)
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._node, ptr %86, i32 0, i32 19
  %88 = getelementptr inbounds %struct._tag, ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 8, !tbaa !9
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct._node, ptr %90, i32 0, i32 19
  %92 = getelementptr inbounds %struct._tag, ptr %91, i32 0, i32 1
  %93 = load i32, ptr %92, align 4, !tbaa !14
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._node, ptr %94, i32 0, i32 4
  %96 = load double, ptr %95, align 8, !tbaa !28
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._node, ptr %97, i32 0, i32 5
  %99 = load double, ptr %98, align 8, !tbaa !29
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct._node, ptr %100, i32 0, i32 6
  %102 = load double, ptr %101, align 8, !tbaa !30
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %89, i32 noundef %93, double noundef %96, double noundef %99, double noundef %102)
  store i32 0, ptr %3, align 4, !tbaa !16
  br label %104

104:                                              ; preds = %158, %48
  %105 = load i32, ptr %3, align 4, !tbaa !16
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct._node, ptr %106, i32 0, i32 20
  %108 = load i32, ptr %107, align 8, !tbaa !15
  %109 = icmp slt i32 %105, %108
  br i1 %109, label %110, label %161

110:                                              ; preds = %104
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._node, ptr %111, i32 0, i32 19
  %113 = getelementptr inbounds %struct._tag, ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 8, !tbaa !9
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct._node, ptr %115, i32 0, i32 19
  %117 = getelementptr inbounds %struct._tag, ptr %116, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !14
  %119 = load i32, ptr %3, align 4, !tbaa !16
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._node, ptr %120, i32 0, i32 21
  %122 = load ptr, ptr %121, align 8, !tbaa !17
  %123 = load i32, ptr %3, align 4, !tbaa !16
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %struct._tag, ptr %122, i64 %124
  %126 = getelementptr inbounds %struct._tag, ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 4, !tbaa !18
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._node, ptr %128, i32 0, i32 21
  %130 = load ptr, ptr %129, align 8, !tbaa !17
  %131 = load i32, ptr %3, align 4, !tbaa !16
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds %struct._tag, ptr %130, i64 %132
  %134 = getelementptr inbounds %struct._tag, ptr %133, i32 0, i32 1
  %135 = load i32, ptr %134, align 4, !tbaa !19
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct._node, ptr %136, i32 0, i32 22
  %138 = load ptr, ptr %137, align 8, !tbaa !31
  %139 = load i32, ptr %3, align 4, !tbaa !16
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds double, ptr %138, i64 %140
  %142 = load double, ptr %141, align 8, !tbaa !32
  %143 = load ptr, ptr %2, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._node, ptr %143, i32 0, i32 23
  %145 = load ptr, ptr %144, align 8, !tbaa !33
  %146 = load i32, ptr %3, align 4, !tbaa !16
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds double, ptr %145, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !32
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct._node, ptr %150, i32 0, i32 24
  %152 = load ptr, ptr %151, align 8, !tbaa !34
  %153 = load i32, ptr %3, align 4, !tbaa !16
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds double, ptr %152, i64 %154
  %156 = load double, ptr %155, align 8, !tbaa !32
  %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %114, i32 noundef %118, i32 noundef %119, i32 noundef %127, i32 noundef %135, double noundef %142, double noundef %149, double noundef %156)
  br label %158

158:                                              ; preds = %110
  %159 = load i32, ptr %3, align 4, !tbaa !16
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %3, align 4, !tbaa !16
  br label %104, !llvm.loop !35

161:                                              ; preds = %104
  store i32 0, ptr %3, align 4, !tbaa !16
  br label %162

162:                                              ; preds = %216, %161
  %163 = load i32, ptr %3, align 4, !tbaa !16
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct._node, ptr %164, i32 0, i32 20
  %166 = load i32, ptr %165, align 8, !tbaa !15
  %167 = icmp slt i32 %163, %166
  br i1 %167, label %168, label %219

168:                                              ; preds = %162
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct._node, ptr %169, i32 0, i32 19
  %171 = getelementptr inbounds %struct._tag, ptr %170, i32 0, i32 0
  %172 = load i32, ptr %171, align 8, !tbaa !9
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct._node, ptr %173, i32 0, i32 19
  %175 = getelementptr inbounds %struct._tag, ptr %174, i32 0, i32 1
  %176 = load i32, ptr %175, align 4, !tbaa !14
  %177 = load i32, ptr %3, align 4, !tbaa !16
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct._node, ptr %178, i32 0, i32 21
  %180 = load ptr, ptr %179, align 8, !tbaa !17
  %181 = load i32, ptr %3, align 4, !tbaa !16
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds %struct._tag, ptr %180, i64 %182
  %184 = getelementptr inbounds %struct._tag, ptr %183, i32 0, i32 0
  %185 = load i32, ptr %184, align 4, !tbaa !18
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct._node, ptr %186, i32 0, i32 21
  %188 = load ptr, ptr %187, align 8, !tbaa !17
  %189 = load i32, ptr %3, align 4, !tbaa !16
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds %struct._tag, ptr %188, i64 %190
  %192 = getelementptr inbounds %struct._tag, ptr %191, i32 0, i32 1
  %193 = load i32, ptr %192, align 4, !tbaa !19
  %194 = load ptr, ptr %2, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct._node, ptr %194, i32 0, i32 25
  %196 = load ptr, ptr %195, align 8, !tbaa !36
  %197 = load i32, ptr %3, align 4, !tbaa !16
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds double, ptr %196, i64 %198
  %200 = load double, ptr %199, align 8, !tbaa !32
  %201 = load ptr, ptr %2, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct._node, ptr %201, i32 0, i32 26
  %203 = load ptr, ptr %202, align 8, !tbaa !37
  %204 = load i32, ptr %3, align 4, !tbaa !16
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds double, ptr %203, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !32
  %208 = load ptr, ptr %2, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct._node, ptr %208, i32 0, i32 27
  %210 = load ptr, ptr %209, align 8, !tbaa !38
  %211 = load i32, ptr %3, align 4, !tbaa !16
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds double, ptr %210, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !32
  %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %172, i32 noundef %176, i32 noundef %177, i32 noundef %185, i32 noundef %193, double noundef %200, double noundef %207, double noundef %214)
  br label %216

216:                                              ; preds = %168
  %217 = load i32, ptr %3, align 4, !tbaa !16
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %3, align 4, !tbaa !16
  br label %162, !llvm.loop !39

219:                                              ; preds = %162
  store i32 0, ptr %3, align 4, !tbaa !16
  br label %220

220:                                              ; preds = %274, %219
  %221 = load i32, ptr %3, align 4, !tbaa !16
  %222 = load ptr, ptr %2, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct._node, ptr %222, i32 0, i32 20
  %224 = load i32, ptr %223, align 8, !tbaa !15
  %225 = icmp slt i32 %221, %224
  br i1 %225, label %226, label %277

226:                                              ; preds = %220
  %227 = load ptr, ptr %2, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct._node, ptr %227, i32 0, i32 19
  %229 = getelementptr inbounds %struct._tag, ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 8, !tbaa !9
  %231 = load ptr, ptr %2, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct._node, ptr %231, i32 0, i32 19
  %233 = getelementptr inbounds %struct._tag, ptr %232, i32 0, i32 1
  %234 = load i32, ptr %233, align 4, !tbaa !14
  %235 = load i32, ptr %3, align 4, !tbaa !16
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct._node, ptr %236, i32 0, i32 21
  %238 = load ptr, ptr %237, align 8, !tbaa !17
  %239 = load i32, ptr %3, align 4, !tbaa !16
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds %struct._tag, ptr %238, i64 %240
  %242 = getelementptr inbounds %struct._tag, ptr %241, i32 0, i32 0
  %243 = load i32, ptr %242, align 4, !tbaa !18
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct._node, ptr %244, i32 0, i32 21
  %246 = load ptr, ptr %245, align 8, !tbaa !17
  %247 = load i32, ptr %3, align 4, !tbaa !16
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds %struct._tag, ptr %246, i64 %248
  %250 = getelementptr inbounds %struct._tag, ptr %249, i32 0, i32 1
  %251 = load i32, ptr %250, align 4, !tbaa !19
  %252 = load ptr, ptr %2, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct._node, ptr %252, i32 0, i32 28
  %254 = load ptr, ptr %253, align 8, !tbaa !40
  %255 = load i32, ptr %3, align 4, !tbaa !16
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds double, ptr %254, i64 %256
  %258 = load double, ptr %257, align 8, !tbaa !32
  %259 = load ptr, ptr %2, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct._node, ptr %259, i32 0, i32 29
  %261 = load ptr, ptr %260, align 8, !tbaa !41
  %262 = load i32, ptr %3, align 4, !tbaa !16
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds double, ptr %261, i64 %263
  %265 = load double, ptr %264, align 8, !tbaa !32
  %266 = load ptr, ptr %2, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct._node, ptr %266, i32 0, i32 30
  %268 = load ptr, ptr %267, align 8, !tbaa !42
  %269 = load i32, ptr %3, align 4, !tbaa !16
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds double, ptr %268, i64 %270
  %272 = load double, ptr %271, align 8, !tbaa !32
  %273 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %230, i32 noundef %234, i32 noundef %235, i32 noundef %243, i32 noundef %251, double noundef %258, double noundef %265, double noundef %272)
  br label %274

274:                                              ; preds = %226
  %275 = load i32, ptr %3, align 4, !tbaa !16
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %3, align 4, !tbaa !16
  br label %220, !llvm.loop !43

277:                                              ; preds = %220
  store i32 1, ptr %4, align 4
  br label %278

278:                                              ; preds = %277, %7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 152}
!10 = !{!"_node", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !13, i64 152, !11, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !6, i64 296, !6, i64 304, !11, i64 312}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"_tag", !11, i64 0, !11, i64 4}
!14 = !{!10, !11, i64 156}
!15 = !{!10, !11, i64 160}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !6, i64 168}
!18 = !{!13, !11, i64 0}
!19 = !{!13, !11, i64 4}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!10, !12, i64 8}
!23 = !{!10, !12, i64 16}
!24 = !{!10, !12, i64 24}
!25 = !{!10, !12, i64 56}
!26 = !{!10, !12, i64 64}
!27 = !{!10, !12, i64 72}
!28 = !{!10, !12, i64 32}
!29 = !{!10, !12, i64 40}
!30 = !{!10, !12, i64 48}
!31 = !{!10, !6, i64 176}
!32 = !{!12, !12, i64 0}
!33 = !{!10, !6, i64 184}
!34 = !{!10, !6, i64 192}
!35 = distinct !{!35, !21}
!36 = !{!10, !6, i64 200}
!37 = !{!10, !6, i64 208}
!38 = !{!10, !6, i64 216}
!39 = distinct !{!39, !21}
!40 = !{!10, !6, i64 224}
!41 = !{!10, !6, i64 232}
!42 = !{!10, !6, i64 240}
!43 = distinct !{!43, !21}


; 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._tag = type { i32, i32 }

@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [57 x i8], align 1

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

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

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 152
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 156
  %7 = load i32, ptr %6, align 4, !tbaa !13
  %8 = getelementptr inbounds i8, ptr %0, i64 160
  %9 = load i32, ptr %8, align 8, !tbaa !14
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  %11 = load i32, ptr %8, align 8, !tbaa !14
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %13 = getelementptr inbounds i8, ptr %0, i64 168
  br label %14

14:                                               ; preds = %.lr.ph, %14
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %14 ]
  %15 = load ptr, ptr %13, align 8, !tbaa !15
  %16 = getelementptr inbounds %struct._tag, ptr %15, i64 %indvars.iv
  %17 = load i32, ptr %16, align 4, !tbaa !16
  %18 = getelementptr inbounds i8, ptr %16, i64 4
  %19 = load i32, ptr %18, align 4, !tbaa !17
  %20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %17, i32 noundef %19)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %21 = load i32, ptr %8, align 8, !tbaa !14
  %22 = sext i32 %21 to i64
  %23 = icmp slt i64 %indvars.iv.next, %22
  br i1 %23, label %14, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %14, %3
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %25 = load i32, ptr %4, align 8, !tbaa !5
  %26 = load i32, ptr %6, align 4, !tbaa !13
  %27 = getelementptr inbounds i8, ptr %0, i64 8
  %28 = load double, ptr %27, align 8, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %0, i64 16
  %30 = load double, ptr %29, align 8, !tbaa !21
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load double, ptr %31, align 8, !tbaa !22
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %25, i32 noundef %26, double noundef %28, double noundef %30, double noundef %32)
  %34 = load i32, ptr %4, align 8, !tbaa !5
  %35 = load i32, ptr %6, align 4, !tbaa !13
  %36 = getelementptr inbounds i8, ptr %0, i64 56
  %37 = load double, ptr %36, align 8, !tbaa !23
  %38 = getelementptr inbounds i8, ptr %0, i64 64
  %39 = load double, ptr %38, align 8, !tbaa !24
  %40 = getelementptr inbounds i8, ptr %0, i64 72
  %41 = load double, ptr %40, align 8, !tbaa !25
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %34, i32 noundef %35, double noundef %37, double noundef %39, double noundef %41)
  %43 = load i32, ptr %4, align 8, !tbaa !5
  %44 = load i32, ptr %6, align 4, !tbaa !13
  %45 = getelementptr inbounds i8, ptr %0, i64 32
  %46 = load double, ptr %45, align 8, !tbaa !26
  %47 = getelementptr inbounds i8, ptr %0, i64 40
  %48 = load double, ptr %47, align 8, !tbaa !27
  %49 = getelementptr inbounds i8, ptr %0, i64 48
  %50 = load double, ptr %49, align 8, !tbaa !28
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %43, i32 noundef %44, double noundef %46, double noundef %48, double noundef %50)
  %52 = load i32, ptr %8, align 8, !tbaa !14
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %.lr.ph78, label %.loopexit

.lr.ph78:                                         ; preds = %._crit_edge
  %54 = getelementptr inbounds i8, ptr %0, i64 168
  %55 = getelementptr inbounds i8, ptr %0, i64 176
  %56 = getelementptr inbounds i8, ptr %0, i64 184
  %57 = getelementptr inbounds i8, ptr %0, i64 192
  br label %63

.preheader74:                                     ; preds = %63
  %58 = icmp sgt i32 %82, 0
  br i1 %58, label %.lr.ph80, label %.loopexit

.lr.ph80:                                         ; preds = %.preheader74
  %59 = getelementptr inbounds i8, ptr %0, i64 168
  %60 = getelementptr inbounds i8, ptr %0, i64 200
  %61 = getelementptr inbounds i8, ptr %0, i64 208
  %62 = getelementptr inbounds i8, ptr %0, i64 216
  br label %90

63:                                               ; preds = %.lr.ph78, %63
  %indvars.iv84 = phi i64 [ 0, %.lr.ph78 ], [ %indvars.iv.next85, %63 ]
  %64 = load i32, ptr %4, align 8, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !13
  %66 = load ptr, ptr %54, align 8, !tbaa !15
  %67 = getelementptr inbounds %struct._tag, ptr %66, i64 %indvars.iv84
  %68 = load i32, ptr %67, align 4, !tbaa !16
  %69 = getelementptr inbounds i8, ptr %67, i64 4
  %70 = load i32, ptr %69, align 4, !tbaa !17
  %71 = load ptr, ptr %55, align 8, !tbaa !29
  %72 = getelementptr inbounds double, ptr %71, i64 %indvars.iv84
  %73 = load double, ptr %72, align 8, !tbaa !30
  %74 = load ptr, ptr %56, align 8, !tbaa !31
  %75 = getelementptr inbounds double, ptr %74, i64 %indvars.iv84
  %76 = load double, ptr %75, align 8, !tbaa !30
  %77 = load ptr, ptr %57, align 8, !tbaa !32
  %78 = getelementptr inbounds double, ptr %77, i64 %indvars.iv84
  %79 = load double, ptr %78, align 8, !tbaa !30
  %80 = trunc nuw nsw i64 %indvars.iv84 to i32
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %64, i32 noundef %65, i32 noundef %80, i32 noundef %68, i32 noundef %70, double noundef %73, double noundef %76, double noundef %79)
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %82 = load i32, ptr %8, align 8, !tbaa !14
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next85, %83
  br i1 %84, label %63, label %.preheader74, !llvm.loop !33

.preheader:                                       ; preds = %90
  %85 = icmp sgt i32 %109, 0
  br i1 %85, label %.lr.ph82, label %.loopexit

.lr.ph82:                                         ; preds = %.preheader
  %86 = getelementptr inbounds i8, ptr %0, i64 168
  %87 = getelementptr inbounds i8, ptr %0, i64 224
  %88 = getelementptr inbounds i8, ptr %0, i64 232
  %89 = getelementptr inbounds i8, ptr %0, i64 240
  br label %112

90:                                               ; preds = %.lr.ph80, %90
  %indvars.iv87 = phi i64 [ 0, %.lr.ph80 ], [ %indvars.iv.next88, %90 ]
  %91 = load i32, ptr %4, align 8, !tbaa !5
  %92 = load i32, ptr %6, align 4, !tbaa !13
  %93 = load ptr, ptr %59, align 8, !tbaa !15
  %94 = getelementptr inbounds %struct._tag, ptr %93, i64 %indvars.iv87
  %95 = load i32, ptr %94, align 4, !tbaa !16
  %96 = getelementptr inbounds i8, ptr %94, i64 4
  %97 = load i32, ptr %96, align 4, !tbaa !17
  %98 = load ptr, ptr %60, align 8, !tbaa !34
  %99 = getelementptr inbounds double, ptr %98, i64 %indvars.iv87
  %100 = load double, ptr %99, align 8, !tbaa !30
  %101 = load ptr, ptr %61, align 8, !tbaa !35
  %102 = getelementptr inbounds double, ptr %101, i64 %indvars.iv87
  %103 = load double, ptr %102, align 8, !tbaa !30
  %104 = load ptr, ptr %62, align 8, !tbaa !36
  %105 = getelementptr inbounds double, ptr %104, i64 %indvars.iv87
  %106 = load double, ptr %105, align 8, !tbaa !30
  %107 = trunc nuw nsw i64 %indvars.iv87 to i32
  %108 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %91, i32 noundef %92, i32 noundef %107, i32 noundef %95, i32 noundef %97, double noundef %100, double noundef %103, double noundef %106)
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %109 = load i32, ptr %8, align 8, !tbaa !14
  %110 = sext i32 %109 to i64
  %111 = icmp slt i64 %indvars.iv.next88, %110
  br i1 %111, label %90, label %.preheader, !llvm.loop !37

112:                                              ; preds = %.lr.ph82, %112
  %indvars.iv90 = phi i64 [ 0, %.lr.ph82 ], [ %indvars.iv.next91, %112 ]
  %113 = load i32, ptr %4, align 8, !tbaa !5
  %114 = load i32, ptr %6, align 4, !tbaa !13
  %115 = load ptr, ptr %86, align 8, !tbaa !15
  %116 = getelementptr inbounds %struct._tag, ptr %115, i64 %indvars.iv90
  %117 = load i32, ptr %116, align 4, !tbaa !16
  %118 = getelementptr inbounds i8, ptr %116, i64 4
  %119 = load i32, ptr %118, align 4, !tbaa !17
  %120 = load ptr, ptr %87, align 8, !tbaa !38
  %121 = getelementptr inbounds double, ptr %120, i64 %indvars.iv90
  %122 = load double, ptr %121, align 8, !tbaa !30
  %123 = load ptr, ptr %88, align 8, !tbaa !39
  %124 = getelementptr inbounds double, ptr %123, i64 %indvars.iv90
  %125 = load double, ptr %124, align 8, !tbaa !30
  %126 = load ptr, ptr %89, align 8, !tbaa !40
  %127 = getelementptr inbounds double, ptr %126, i64 %indvars.iv90
  %128 = load double, ptr %127, align 8, !tbaa !30
  %129 = trunc nuw nsw i64 %indvars.iv90 to i32
  %130 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %113, i32 noundef %114, i32 noundef %129, i32 noundef %117, i32 noundef %119, double noundef %122, double noundef %125, double noundef %128)
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %131 = load i32, ptr %8, align 8, !tbaa !14
  %132 = sext i32 %131 to i64
  %133 = icmp slt i64 %indvars.iv.next91, %132
  br i1 %133, label %112, label %.loopexit, !llvm.loop !41

.loopexit:                                        ; preds = %112, %._crit_edge, %.preheader74, %.preheader, %1
  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 = { nofree 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" }

!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 152}
!6 = !{!"_node", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !11, i64 152, !7, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !12, i64 296, !12, i64 304, !7, i64 312}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"_tag", !7, i64 0, !7, i64 4}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 156}
!14 = !{!6, !7, i64 160}
!15 = !{!6, !12, i64 168}
!16 = !{!11, !7, i64 0}
!17 = !{!11, !7, i64 4}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !10, i64 8}
!21 = !{!6, !10, i64 16}
!22 = !{!6, !10, i64 24}
!23 = !{!6, !10, i64 56}
!24 = !{!6, !10, i64 64}
!25 = !{!6, !10, i64 72}
!26 = !{!6, !10, i64 32}
!27 = !{!6, !10, i64 40}
!28 = !{!6, !10, i64 48}
!29 = !{!6, !12, i64 176}
!30 = !{!10, !10, i64 0}
!31 = !{!6, !12, i64 184}
!32 = !{!6, !12, i64 192}
!33 = distinct !{!33, !19}
!34 = !{!6, !12, i64 200}
!35 = !{!6, !12, i64 208}
!36 = !{!6, !12, i64 216}
!37 = distinct !{!37, !19}
!38 = !{!6, !12, i64 224}
!39 = !{!6, !12, i64 232}
!40 = !{!6, !12, i64 240}
!41 = distinct !{!41, !19}


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