; LLVM IR from stivalaa/EstimNetDirected :: src (graph)

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

@stderr = external global ptr, align 8
@.str.92 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [40 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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @load_integer_attributes(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @load_attributes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  %16 = load ptr, ptr %8, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %37

18:                                               ; preds = %5
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.graph_s, ptr %20, i32 0, i32 0
  %22 = load i32, ptr %21, align 8, !tbaa !11
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.graph_s, ptr %23, i32 0, i32 16
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.graph_s, ptr %25, i32 0, i32 17
  %27 = call i32 @load_integer_attributes(ptr noundef %19, i32 noundef %22, i32 noundef 1, ptr noundef %24, ptr noundef %26)
  store i32 %27, ptr %12, align 4, !tbaa !9
  %28 = icmp slt i32 %27, 0
  br i1 %28, label %29, label %33

29:                                               ; preds = %18
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.92, ptr noundef %31) #3
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %140

33:                                               ; preds = %18
  %34 = load i32, ptr %12, align 4, !tbaa !9
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.graph_s, ptr %35, i32 0, i32 15
  store i32 %34, ptr %36, align 8, !tbaa !13
  br label %37

37:                                               ; preds = %33, %5
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %59

40:                                               ; preds = %37
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.graph_s, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.graph_s, ptr %45, i32 0, i32 19
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.graph_s, ptr %47, i32 0, i32 20
  %49 = call i32 @load_integer_attributes(ptr noundef %41, i32 noundef %44, i32 noundef 0, ptr noundef %46, ptr noundef %48)
  store i32 %49, ptr %12, align 4, !tbaa !9
  %50 = icmp slt i32 %49, 0
  br i1 %50, label %51, label %55

51:                                               ; preds = %40
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.93, ptr noundef %53) #3
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %140

55:                                               ; preds = %40
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.graph_s, ptr %57, i32 0, i32 18
  store i32 %56, ptr %58, align 8, !tbaa !14
  br label %59

59:                                               ; preds = %55, %37
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %81

62:                                               ; preds = %59
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.graph_s, ptr %64, i32 0, i32 0
  %66 = load i32, ptr %65, align 8, !tbaa !11
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.graph_s, ptr %67, i32 0, i32 22
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.graph_s, ptr %69, i32 0, i32 23
  %71 = call i32 @load_float_attributes(ptr noundef %63, i32 noundef %66, ptr noundef %68, ptr noundef %70)
  store i32 %71, ptr %12, align 4, !tbaa !9
  %72 = icmp slt i32 %71, 0
  br i1 %72, label %73, label %77

73:                                               ; preds = %62
  %74 = load ptr, ptr @stderr, align 8, !tbaa !5
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.94, ptr noundef %75) #3
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %140

77:                                               ; preds = %62
  %78 = load i32, ptr %12, align 4, !tbaa !9
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.graph_s, ptr %79, i32 0, i32 21
  store i32 %78, ptr %80, align 8, !tbaa !15
  br label %81

81:                                               ; preds = %77, %59
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %139

84:                                               ; preds = %81
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.graph_s, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 8, !tbaa !11
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.graph_s, ptr %89, i32 0, i32 25
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.graph_s, ptr %91, i32 0, i32 27
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.graph_s, ptr %93, i32 0, i32 26
  %95 = call i32 @load_set_attributes(ptr noundef %85, i32 noundef %88, ptr noundef %90, ptr noundef %92, ptr noundef %94)
  store i32 %95, ptr %12, align 4, !tbaa !9
  %96 = icmp slt i32 %95, 0
  br i1 %96, label %97, label %101

97:                                               ; preds = %84
  %98 = load ptr, ptr @stderr, align 8, !tbaa !5
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.95, ptr noundef %99) #3
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %140

101:                                              ; preds = %84
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.graph_s, ptr %103, i32 0, i32 24
  store i32 %102, ptr %104, align 8, !tbaa !16
  store i32 0, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %105

105:                                              ; preds = %135, %101
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = load i32, ptr %12, align 4, !tbaa !9
  %108 = icmp slt i32 %106, %107
  br i1 %108, label %109, label %138

109:                                              ; preds = %105
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.graph_s, ptr %110, i32 0, i32 26
  %112 = load ptr, ptr %111, align 8, !tbaa !17
  %113 = load i32, ptr %13, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds i32, ptr %112, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !9
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %118, label %128

118:                                              ; preds = %109
  %119 = load ptr, ptr @stderr, align 8, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.graph_s, ptr %120, i32 0, i32 25
  %122 = load ptr, ptr %121, align 8, !tbaa !18
  %123 = load i32, ptr %13, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds ptr, ptr %122, i64 %124
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.96, ptr noundef %126) #3
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %118, %109
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = load ptr, ptr @stderr, align 8, !tbaa !5
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.97) #3
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %140

134:                                              ; preds = %128
  br label %135

135:                                              ; preds = %134
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %13, align 4, !tbaa !9
  br label %105, !llvm.loop !19

138:                                              ; preds = %105
  br label %139

139:                                              ; preds = %138, %81
  store i32 0, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %140

140:                                              ; preds = %139, %131, %97, %73, %51, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  %141 = load i32, ptr %6, align 4
  ret i32 %141
}

; Function Attrs: nounwind uwtable
declare hidden i32 @load_float_attributes(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @load_set_attributes(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"graph_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !6, i64 104, !6, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !6, i64 224, !10, i64 232, !10, i64 236, !6, i64 240, !6, i64 248, !10, i64 256, !6, i64 264, !10, i64 272, !6, i64 280, !6, i64 288, !10, i64 296, !10, i64 300, !6, i64 304, !10, i64 312, !6, i64 320}
!13 = !{!12, !10, i64 96}
!14 = !{!12, !10, i64 120}
!15 = !{!12, !10, i64 144}
!16 = !{!12, !10, i64 168}
!17 = !{!12, !6, i64 184}
!18 = !{!12, !6, i64 176}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@stderr = external local_unnamed_addr global ptr, align 8
@.str.92 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [40 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden i32 @load_integer_attributes(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @load_attributes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %17, label %6

6:                                                ; preds = %5
  %7 = load i32, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 104
  %9 = getelementptr inbounds i8, ptr %0, i64 112
  %10 = tail call i32 @load_integer_attributes(ptr noundef nonnull %1, i32 noundef %7, i32 noundef 1, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %11 = icmp slt i32 %10, 0
  br i1 %11, label %12, label %15

12:                                               ; preds = %6
  %13 = load ptr, ptr @stderr, align 8, !tbaa !11
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str.92, ptr noundef nonnull %1) #2
  br label %.loopexit

15:                                               ; preds = %6
  %16 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %10, ptr %16, align 8, !tbaa !12
  br label %17

17:                                               ; preds = %15, %5
  %.not51 = icmp eq ptr %2, null
  br i1 %.not51, label %29, label %18

18:                                               ; preds = %17
  %19 = load i32, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 128
  %21 = getelementptr inbounds i8, ptr %0, i64 136
  %22 = tail call i32 @load_integer_attributes(ptr noundef nonnull %2, i32 noundef %19, i32 noundef 0, ptr noundef nonnull %20, ptr noundef nonnull %21)
  %23 = icmp slt i32 %22, 0
  br i1 %23, label %24, label %27

24:                                               ; preds = %18
  %25 = load ptr, ptr @stderr, align 8, !tbaa !11
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.93, ptr noundef nonnull %2) #2
  br label %.loopexit

27:                                               ; preds = %18
  %28 = getelementptr inbounds i8, ptr %0, i64 120
  store i32 %22, ptr %28, align 8, !tbaa !13
  br label %29

29:                                               ; preds = %27, %17
  %.not52 = icmp eq ptr %3, null
  br i1 %.not52, label %41, label %30

30:                                               ; preds = %29
  %31 = load i32, ptr %0, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %0, i64 152
  %33 = getelementptr inbounds i8, ptr %0, i64 160
  %34 = tail call i32 @load_float_attributes(ptr noundef nonnull %3, i32 noundef %31, ptr noundef nonnull %32, ptr noundef nonnull %33)
  %35 = icmp slt i32 %34, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %30
  %37 = load ptr, ptr @stderr, align 8, !tbaa !11
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.94, ptr noundef nonnull %3) #2
  br label %.loopexit

39:                                               ; preds = %30
  %40 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 %34, ptr %40, align 8, !tbaa !14
  br label %41

41:                                               ; preds = %39, %29
  %.not53 = icmp eq ptr %4, null
  br i1 %.not53, label %.loopexit, label %42

42:                                               ; preds = %41
  %43 = load i32, ptr %0, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %0, i64 176
  %45 = getelementptr inbounds i8, ptr %0, i64 192
  %46 = getelementptr inbounds i8, ptr %0, i64 184
  %47 = tail call i32 @load_set_attributes(ptr noundef nonnull %4, i32 noundef %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46)
  %48 = icmp slt i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %42
  %50 = load ptr, ptr @stderr, align 8, !tbaa !11
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.95, ptr noundef nonnull %4) #2
  br label %.loopexit

52:                                               ; preds = %42
  %53 = getelementptr inbounds i8, ptr %0, i64 168
  store i32 %47, ptr %53, align 8, !tbaa !15
  %.not57 = icmp eq i32 %47, 0
  br i1 %.not57, label %.loopexit, label %.critedge.lr.ph

.critedge.lr.ph:                                  ; preds = %52
  %54 = load ptr, ptr %46, align 8, !tbaa !16
  %wide.trip.count = zext nneg i32 %47 to i64
  br label %.critedge

55:                                               ; preds = %.critedge
  %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 %.loopexit, label %.critedge, !llvm.loop !17

.critedge:                                        ; preds = %.critedge.lr.ph, %55
  %indvars.iv = phi i64 [ 0, %.critedge.lr.ph ], [ %indvars.iv.next, %55 ]
  %56 = getelementptr inbounds i32, ptr %54, i64 %indvars.iv
  %57 = load i32, ptr %56, align 4, !tbaa !19
  %.not55 = icmp eq i32 %57, 0
  br i1 %.not55, label %58, label %55

58:                                               ; preds = %.critedge
  %59 = load ptr, ptr @stderr, align 8, !tbaa !11
  %60 = load ptr, ptr %44, align 8, !tbaa !20
  %61 = getelementptr inbounds ptr, ptr %60, i64 %indvars.iv
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.96, ptr noundef %62) #2
  %64 = load ptr, ptr @stderr, align 8, !tbaa !11
  %65 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef nonnull @.str.97) #2
  br label %.loopexit

.loopexit:                                        ; preds = %55, %52, %41, %58, %49, %36, %24, %12
  %.042 = phi i32 [ 1, %12 ], [ 1, %24 ], [ 1, %36 ], [ 1, %49 ], [ 1, %58 ], [ 0, %41 ], [ 0, %52 ], [ 0, %55 ]
  ret i32 %.042
}

; Function Attrs: nounwind uwtable
declare hidden i32 @load_float_attributes(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @load_set_attributes(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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 = { 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 = { 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 0}
!6 = !{!"graph_s", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !10, i64 104, !10, i64 112, !7, i64 120, !10, i64 128, !10, i64 136, !7, i64 144, !10, i64 152, !10, i64 160, !7, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !10, i64 224, !7, i64 232, !7, i64 236, !10, i64 240, !10, i64 248, !7, i64 256, !10, i64 264, !7, i64 272, !10, i64 280, !10, i64 288, !7, i64 296, !7, i64 300, !10, i64 304, !7, i64 312, !10, i64 320}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 96}
!13 = !{!6, !7, i64 120}
!14 = !{!6, !7, i64 144}
!15 = !{!6, !7, i64 168}
!16 = !{!6, !10, i64 184}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !7, i64 0}
!20 = !{!6, !10, i64 176}


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