; LLVM IR from HarshCasper/NeoAlgo :: C/ds (Open_hashing)

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

@head = external dso_local global [10 x ptr], align 16
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c = external dso_local global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @openDisplay() #2 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  store i32 1, ptr %1, align 4, !tbaa !5
  br label %4

4:                                                ; preds = %45, %0
  %5 = load i32, ptr %1, align 4, !tbaa !5
  %6 = icmp sle i32 %5, 10
  br i1 %6, label %7, label %48

7:                                                ; preds = %4
  %8 = load i32, ptr %1, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [10 x ptr], ptr @head, i64 0, i64 %9
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %17

13:                                               ; preds = %7
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %14)
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %45

17:                                               ; preds = %7
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [10 x ptr], ptr @head, i64 0, i64 %19
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  store ptr %21, ptr @c, align 8, !tbaa !9
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = load ptr, ptr @c, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.node, ptr %23, i32 0, i32 0
  %25 = load i32, ptr %24, align 8, !tbaa !11
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %22, i32 noundef %25)
  %27 = load ptr, ptr @c, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.node, ptr %27, i32 0, i32 1
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  store ptr %29, ptr @c, align 8, !tbaa !9
  br label %30

30:                                               ; preds = %38, %17
  %31 = load ptr, ptr @c, align 8, !tbaa !9
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %42

33:                                               ; preds = %30
  %34 = load ptr, ptr @c, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.node, ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !11
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %36)
  br label %38

38:                                               ; preds = %33
  %39 = load ptr, ptr @c, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.node, ptr %39, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !13
  store ptr %41, ptr @c, align 8, !tbaa !9
  br label %30, !llvm.loop !14

42:                                               ; preds = %30
  br label %43

43:                                               ; preds = %42
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %45

45:                                               ; preds = %43, %13
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %1, align 4, !tbaa !5
  br label %4, !llvm.loop !16

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

attributes #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"node", !6, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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

@head = external dso_local local_unnamed_addr global [10 x ptr], align 16
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@c = external dso_local local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 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 @openDisplay() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %3 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 8), align 8, !tbaa !5
  %4 = icmp eq ptr %3, null
  br i1 %4, label %5, label %7

5:                                                ; preds = %0
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 1)
  br label %._crit_edge

7:                                                ; preds = %0
  store ptr %3, ptr @c, align 8, !tbaa !5
  %8 = load i32, ptr %3, align 8, !tbaa !9
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 1, i32 noundef %8)
  %.pn8 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9 = getelementptr inbounds i8, ptr %.pn8, i64 8
  %storemerge10 = load ptr, ptr %storemerge.in9, align 8, !tbaa !12
  store ptr %storemerge10, ptr @c, align 8, !tbaa !5
  %.not11 = icmp eq ptr %storemerge10, null
  br i1 %.not11, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %7, %.lr.ph
  %storemerge12 = phi ptr [ %storemerge, %.lr.ph ], [ %storemerge10, %7 ]
  %10 = load i32, ptr %storemerge12, align 8, !tbaa !9
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %10)
  %.pn = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in = getelementptr inbounds i8, ptr %.pn, i64 8
  %storemerge = load ptr, ptr %storemerge.in, align 8, !tbaa !12
  store ptr %storemerge, ptr @c, align 8, !tbaa !5
  %.not = icmp eq ptr %storemerge, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %7, %5
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %13 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 16), align 16, !tbaa !5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %20, label %15

15:                                               ; preds = %._crit_edge
  store ptr %13, ptr @c, align 8, !tbaa !5
  %16 = load i32, ptr %13, align 8, !tbaa !9
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 2, i32 noundef %16)
  %.pn8.1 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.1 = getelementptr inbounds i8, ptr %.pn8.1, i64 8
  %storemerge10.1 = load ptr, ptr %storemerge.in9.1, align 8, !tbaa !12
  store ptr %storemerge10.1, ptr @c, align 8, !tbaa !5
  %.not11.1 = icmp eq ptr %storemerge10.1, null
  br i1 %.not11.1, label %._crit_edge.1, label %.lr.ph.1

.lr.ph.1:                                         ; preds = %15, %.lr.ph.1
  %storemerge12.1 = phi ptr [ %storemerge.1, %.lr.ph.1 ], [ %storemerge10.1, %15 ]
  %18 = load i32, ptr %storemerge12.1, align 8, !tbaa !9
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %18)
  %.pn.1 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.1 = getelementptr inbounds i8, ptr %.pn.1, i64 8
  %storemerge.1 = load ptr, ptr %storemerge.in.1, align 8, !tbaa !12
  store ptr %storemerge.1, ptr @c, align 8, !tbaa !5
  %.not.1 = icmp eq ptr %storemerge.1, null
  br i1 %.not.1, label %._crit_edge.1, label %.lr.ph.1, !llvm.loop !13

20:                                               ; preds = %._crit_edge
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 2)
  br label %._crit_edge.1

._crit_edge.1:                                    ; preds = %.lr.ph.1, %20, %15
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %23 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 24), align 8, !tbaa !5
  %24 = icmp eq ptr %23, null
  br i1 %24, label %30, label %25

25:                                               ; preds = %._crit_edge.1
  store ptr %23, ptr @c, align 8, !tbaa !5
  %26 = load i32, ptr %23, align 8, !tbaa !9
  %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 3, i32 noundef %26)
  %.pn8.2 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.2 = getelementptr inbounds i8, ptr %.pn8.2, i64 8
  %storemerge10.2 = load ptr, ptr %storemerge.in9.2, align 8, !tbaa !12
  store ptr %storemerge10.2, ptr @c, align 8, !tbaa !5
  %.not11.2 = icmp eq ptr %storemerge10.2, null
  br i1 %.not11.2, label %._crit_edge.2, label %.lr.ph.2

.lr.ph.2:                                         ; preds = %25, %.lr.ph.2
  %storemerge12.2 = phi ptr [ %storemerge.2, %.lr.ph.2 ], [ %storemerge10.2, %25 ]
  %28 = load i32, ptr %storemerge12.2, align 8, !tbaa !9
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %28)
  %.pn.2 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.2 = getelementptr inbounds i8, ptr %.pn.2, i64 8
  %storemerge.2 = load ptr, ptr %storemerge.in.2, align 8, !tbaa !12
  store ptr %storemerge.2, ptr @c, align 8, !tbaa !5
  %.not.2 = icmp eq ptr %storemerge.2, null
  br i1 %.not.2, label %._crit_edge.2, label %.lr.ph.2, !llvm.loop !13

30:                                               ; preds = %._crit_edge.1
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 3)
  br label %._crit_edge.2

._crit_edge.2:                                    ; preds = %.lr.ph.2, %30, %25
  %32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 32), align 16, !tbaa !5
  %34 = icmp eq ptr %33, null
  br i1 %34, label %40, label %35

35:                                               ; preds = %._crit_edge.2
  store ptr %33, ptr @c, align 8, !tbaa !5
  %36 = load i32, ptr %33, align 8, !tbaa !9
  %37 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 4, i32 noundef %36)
  %.pn8.3 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.3 = getelementptr inbounds i8, ptr %.pn8.3, i64 8
  %storemerge10.3 = load ptr, ptr %storemerge.in9.3, align 8, !tbaa !12
  store ptr %storemerge10.3, ptr @c, align 8, !tbaa !5
  %.not11.3 = icmp eq ptr %storemerge10.3, null
  br i1 %.not11.3, label %._crit_edge.3, label %.lr.ph.3

.lr.ph.3:                                         ; preds = %35, %.lr.ph.3
  %storemerge12.3 = phi ptr [ %storemerge.3, %.lr.ph.3 ], [ %storemerge10.3, %35 ]
  %38 = load i32, ptr %storemerge12.3, align 8, !tbaa !9
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %38)
  %.pn.3 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.3 = getelementptr inbounds i8, ptr %.pn.3, i64 8
  %storemerge.3 = load ptr, ptr %storemerge.in.3, align 8, !tbaa !12
  store ptr %storemerge.3, ptr @c, align 8, !tbaa !5
  %.not.3 = icmp eq ptr %storemerge.3, null
  br i1 %.not.3, label %._crit_edge.3, label %.lr.ph.3, !llvm.loop !13

40:                                               ; preds = %._crit_edge.2
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 4)
  br label %._crit_edge.3

._crit_edge.3:                                    ; preds = %.lr.ph.3, %40, %35
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %43 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 40), align 8, !tbaa !5
  %44 = icmp eq ptr %43, null
  br i1 %44, label %50, label %45

45:                                               ; preds = %._crit_edge.3
  store ptr %43, ptr @c, align 8, !tbaa !5
  %46 = load i32, ptr %43, align 8, !tbaa !9
  %47 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 5, i32 noundef %46)
  %.pn8.4 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.4 = getelementptr inbounds i8, ptr %.pn8.4, i64 8
  %storemerge10.4 = load ptr, ptr %storemerge.in9.4, align 8, !tbaa !12
  store ptr %storemerge10.4, ptr @c, align 8, !tbaa !5
  %.not11.4 = icmp eq ptr %storemerge10.4, null
  br i1 %.not11.4, label %._crit_edge.4, label %.lr.ph.4

.lr.ph.4:                                         ; preds = %45, %.lr.ph.4
  %storemerge12.4 = phi ptr [ %storemerge.4, %.lr.ph.4 ], [ %storemerge10.4, %45 ]
  %48 = load i32, ptr %storemerge12.4, align 8, !tbaa !9
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %48)
  %.pn.4 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.4 = getelementptr inbounds i8, ptr %.pn.4, i64 8
  %storemerge.4 = load ptr, ptr %storemerge.in.4, align 8, !tbaa !12
  store ptr %storemerge.4, ptr @c, align 8, !tbaa !5
  %.not.4 = icmp eq ptr %storemerge.4, null
  br i1 %.not.4, label %._crit_edge.4, label %.lr.ph.4, !llvm.loop !13

50:                                               ; preds = %._crit_edge.3
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 5)
  br label %._crit_edge.4

._crit_edge.4:                                    ; preds = %.lr.ph.4, %50, %45
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %53 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 48), align 16, !tbaa !5
  %54 = icmp eq ptr %53, null
  br i1 %54, label %60, label %55

55:                                               ; preds = %._crit_edge.4
  store ptr %53, ptr @c, align 8, !tbaa !5
  %56 = load i32, ptr %53, align 8, !tbaa !9
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 6, i32 noundef %56)
  %.pn8.5 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.5 = getelementptr inbounds i8, ptr %.pn8.5, i64 8
  %storemerge10.5 = load ptr, ptr %storemerge.in9.5, align 8, !tbaa !12
  store ptr %storemerge10.5, ptr @c, align 8, !tbaa !5
  %.not11.5 = icmp eq ptr %storemerge10.5, null
  br i1 %.not11.5, label %._crit_edge.5, label %.lr.ph.5

.lr.ph.5:                                         ; preds = %55, %.lr.ph.5
  %storemerge12.5 = phi ptr [ %storemerge.5, %.lr.ph.5 ], [ %storemerge10.5, %55 ]
  %58 = load i32, ptr %storemerge12.5, align 8, !tbaa !9
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %58)
  %.pn.5 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.5 = getelementptr inbounds i8, ptr %.pn.5, i64 8
  %storemerge.5 = load ptr, ptr %storemerge.in.5, align 8, !tbaa !12
  store ptr %storemerge.5, ptr @c, align 8, !tbaa !5
  %.not.5 = icmp eq ptr %storemerge.5, null
  br i1 %.not.5, label %._crit_edge.5, label %.lr.ph.5, !llvm.loop !13

60:                                               ; preds = %._crit_edge.4
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 6)
  br label %._crit_edge.5

._crit_edge.5:                                    ; preds = %.lr.ph.5, %60, %55
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %63 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 56), align 8, !tbaa !5
  %64 = icmp eq ptr %63, null
  br i1 %64, label %70, label %65

65:                                               ; preds = %._crit_edge.5
  store ptr %63, ptr @c, align 8, !tbaa !5
  %66 = load i32, ptr %63, align 8, !tbaa !9
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 7, i32 noundef %66)
  %.pn8.6 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.6 = getelementptr inbounds i8, ptr %.pn8.6, i64 8
  %storemerge10.6 = load ptr, ptr %storemerge.in9.6, align 8, !tbaa !12
  store ptr %storemerge10.6, ptr @c, align 8, !tbaa !5
  %.not11.6 = icmp eq ptr %storemerge10.6, null
  br i1 %.not11.6, label %._crit_edge.6, label %.lr.ph.6

.lr.ph.6:                                         ; preds = %65, %.lr.ph.6
  %storemerge12.6 = phi ptr [ %storemerge.6, %.lr.ph.6 ], [ %storemerge10.6, %65 ]
  %68 = load i32, ptr %storemerge12.6, align 8, !tbaa !9
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %68)
  %.pn.6 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.6 = getelementptr inbounds i8, ptr %.pn.6, i64 8
  %storemerge.6 = load ptr, ptr %storemerge.in.6, align 8, !tbaa !12
  store ptr %storemerge.6, ptr @c, align 8, !tbaa !5
  %.not.6 = icmp eq ptr %storemerge.6, null
  br i1 %.not.6, label %._crit_edge.6, label %.lr.ph.6, !llvm.loop !13

70:                                               ; preds = %._crit_edge.5
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 7)
  br label %._crit_edge.6

._crit_edge.6:                                    ; preds = %.lr.ph.6, %70, %65
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %73 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 64), align 16, !tbaa !5
  %74 = icmp eq ptr %73, null
  br i1 %74, label %80, label %75

75:                                               ; preds = %._crit_edge.6
  store ptr %73, ptr @c, align 8, !tbaa !5
  %76 = load i32, ptr %73, align 8, !tbaa !9
  %77 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 8, i32 noundef %76)
  %.pn8.7 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.7 = getelementptr inbounds i8, ptr %.pn8.7, i64 8
  %storemerge10.7 = load ptr, ptr %storemerge.in9.7, align 8, !tbaa !12
  store ptr %storemerge10.7, ptr @c, align 8, !tbaa !5
  %.not11.7 = icmp eq ptr %storemerge10.7, null
  br i1 %.not11.7, label %._crit_edge.7, label %.lr.ph.7

.lr.ph.7:                                         ; preds = %75, %.lr.ph.7
  %storemerge12.7 = phi ptr [ %storemerge.7, %.lr.ph.7 ], [ %storemerge10.7, %75 ]
  %78 = load i32, ptr %storemerge12.7, align 8, !tbaa !9
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %78)
  %.pn.7 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.7 = getelementptr inbounds i8, ptr %.pn.7, i64 8
  %storemerge.7 = load ptr, ptr %storemerge.in.7, align 8, !tbaa !12
  store ptr %storemerge.7, ptr @c, align 8, !tbaa !5
  %.not.7 = icmp eq ptr %storemerge.7, null
  br i1 %.not.7, label %._crit_edge.7, label %.lr.ph.7, !llvm.loop !13

80:                                               ; preds = %._crit_edge.6
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 8)
  br label %._crit_edge.7

._crit_edge.7:                                    ; preds = %.lr.ph.7, %80, %75
  %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %83 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 72), align 8, !tbaa !5
  %84 = icmp eq ptr %83, null
  br i1 %84, label %90, label %85

85:                                               ; preds = %._crit_edge.7
  store ptr %83, ptr @c, align 8, !tbaa !5
  %86 = load i32, ptr %83, align 8, !tbaa !9
  %87 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 9, i32 noundef %86)
  %.pn8.8 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.8 = getelementptr inbounds i8, ptr %.pn8.8, i64 8
  %storemerge10.8 = load ptr, ptr %storemerge.in9.8, align 8, !tbaa !12
  store ptr %storemerge10.8, ptr @c, align 8, !tbaa !5
  %.not11.8 = icmp eq ptr %storemerge10.8, null
  br i1 %.not11.8, label %._crit_edge.8, label %.lr.ph.8

.lr.ph.8:                                         ; preds = %85, %.lr.ph.8
  %storemerge12.8 = phi ptr [ %storemerge.8, %.lr.ph.8 ], [ %storemerge10.8, %85 ]
  %88 = load i32, ptr %storemerge12.8, align 8, !tbaa !9
  %89 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %88)
  %.pn.8 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.8 = getelementptr inbounds i8, ptr %.pn.8, i64 8
  %storemerge.8 = load ptr, ptr %storemerge.in.8, align 8, !tbaa !12
  store ptr %storemerge.8, ptr @c, align 8, !tbaa !5
  %.not.8 = icmp eq ptr %storemerge.8, null
  br i1 %.not.8, label %._crit_edge.8, label %.lr.ph.8, !llvm.loop !13

90:                                               ; preds = %._crit_edge.7
  %91 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 9)
  br label %._crit_edge.8

._crit_edge.8:                                    ; preds = %.lr.ph.8, %90, %85
  %92 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %93 = load ptr, ptr getelementptr inbounds (i8, ptr @head, i64 80), align 16, !tbaa !5
  %94 = icmp eq ptr %93, null
  br i1 %94, label %100, label %95

95:                                               ; preds = %._crit_edge.8
  store ptr %93, ptr @c, align 8, !tbaa !5
  %96 = load i32, ptr %93, align 8, !tbaa !9
  %97 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef 10, i32 noundef %96)
  %.pn8.9 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in9.9 = getelementptr inbounds i8, ptr %.pn8.9, i64 8
  %storemerge10.9 = load ptr, ptr %storemerge.in9.9, align 8, !tbaa !12
  store ptr %storemerge10.9, ptr @c, align 8, !tbaa !5
  %.not11.9 = icmp eq ptr %storemerge10.9, null
  br i1 %.not11.9, label %._crit_edge.9, label %.lr.ph.9

.lr.ph.9:                                         ; preds = %95, %.lr.ph.9
  %storemerge12.9 = phi ptr [ %storemerge.9, %.lr.ph.9 ], [ %storemerge10.9, %95 ]
  %98 = load i32, ptr %storemerge12.9, align 8, !tbaa !9
  %99 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %98)
  %.pn.9 = load ptr, ptr @c, align 8, !tbaa !5
  %storemerge.in.9 = getelementptr inbounds i8, ptr %.pn.9, i64 8
  %storemerge.9 = load ptr, ptr %storemerge.in.9, align 8, !tbaa !12
  store ptr %storemerge.9, ptr @c, align 8, !tbaa !5
  %.not.9 = icmp eq ptr %storemerge.9, null
  br i1 %.not.9, label %._crit_edge.9, label %.lr.ph.9, !llvm.loop !13

100:                                              ; preds = %._crit_edge.8
  %101 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 10)
  br label %._crit_edge.9

._crit_edge.9:                                    ; preds = %.lr.ph.9, %100, %95
  %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"node", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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