; LLVM IR from JessonYue/LeetCodeLearning :: Array/luoyida (LinkedListHash)

; 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._hash_table = type { [7 x ptr] }
%struct._hash_node = type { i32, ptr }

@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@__const.main.key = external hidden unnamed_addr constant [7 x i32], align 16
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z15hash_table_initv() #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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef, i32 noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z15hash_modify_keyP11_hash_tableii(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #4 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [7 x i32], align 16
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 28, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.key, i64 28, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %12 = call noundef ptr @_Z15hash_table_initv()
  store ptr %12, ptr %8, align 8, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %23, %2
  %14 = load i32, ptr %7, align 4, !tbaa !5
  %15 = icmp slt i32 %14, 7
  br i1 %15, label %16, label %26

16:                                               ; preds = %13
  %17 = load ptr, ptr %8, align 8, !tbaa !9
  %18 = load i32, ptr %7, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %17, i32 noundef %21)
  br label %23

23:                                               ; preds = %16
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %7, align 4, !tbaa !5
  br label %13, !llvm.loop !11

26:                                               ; preds = %13
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %53, %26
  %28 = load i32, ptr %7, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 7
  br i1 %29, label %30, label %56

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %31 = load ptr, ptr %8, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct._hash_table, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [7 x ptr], ptr %32, i64 0, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  store ptr %36, ptr %9, align 8, !tbaa !9
  br label %37

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

40:                                               ; preds = %37
  %41 = load i32, ptr %7, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = load ptr, ptr %9, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct._hash_node, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !13
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %44, i32 noundef %47)
  %49 = load ptr, ptr %9, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct._hash_node, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %50, align 8, !tbaa !15
  store ptr %51, ptr %9, align 8, !tbaa !9
  br label %37, !llvm.loop !16

52:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %7, align 4, !tbaa !5
  br label %27, !llvm.loop !17

56:                                               ; preds = %27
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %58 = load ptr, ptr %8, align 8, !tbaa !9
  %59 = call noundef zeroext i1 @_Z15hash_modify_keyP11_hash_tableii(ptr noundef %58, i32 noundef 9, i32 noundef 16)
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %86, %56
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = icmp slt i32 %61, 7
  br i1 %62, label %63, label %89

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %64 = load ptr, ptr %8, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct._hash_table, ptr %64, i32 0, i32 0
  %66 = load i32, ptr %7, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [7 x ptr], ptr %65, i64 0, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  store ptr %69, ptr %10, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %73, %63
  %71 = load ptr, ptr %10, align 8, !tbaa !9
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %85

73:                                               ; preds = %70
  %74 = load i32, ptr %7, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = load ptr, ptr %10, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct._hash_node, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 8, !tbaa !13
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %77, i32 noundef %80)
  %82 = load ptr, ptr %10, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct._hash_node, ptr %82, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  store ptr %84, ptr %10, align 8, !tbaa !9
  br label %70, !llvm.loop !18

85:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %7, align 4, !tbaa !5
  br label %60, !llvm.loop !19

89:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr %6) #6
  ret i32 0
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress 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 #4 = { mustprogress norecurse 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS10_hash_node", !6, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


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

@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@__const.main.key = external hidden unnamed_addr constant [7 x i32], align 16
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z15hash_modify_keyP11_hash_tableii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #3 {
.preheader.preheader:
  %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %3 = tail call noundef ptr @_Z15hash_table_initv()
  %4 = load i32, ptr @__const.main.key, align 16, !tbaa !5
  %5 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %4)
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.key, i64 4), align 4, !tbaa !5
  %7 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %6)
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.key, i64 8), align 8, !tbaa !5
  %9 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %8)
  %10 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.key, i64 12), align 4, !tbaa !5
  %11 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %10)
  %12 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.key, i64 16), align 16, !tbaa !5
  %13 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %12)
  %14 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.key, i64 20), align 4, !tbaa !5
  %15 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %14)
  %16 = load i32, ptr getelementptr inbounds (i8, ptr @__const.main.key, i64 24), align 8, !tbaa !5
  %17 = tail call noundef zeroext i1 @_Z11hash_addKeyP11_hash_tablei(ptr noundef %3, i32 noundef %16)
  %.02024 = load ptr, ptr %3, align 8, !tbaa !9
  %.not2225 = icmp eq ptr %.02024, null
  br i1 %.not2225, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader.preheader, %.lr.ph
  %.02026 = phi ptr [ %.020, %.lr.ph ], [ %.02024, %.preheader.preheader ]
  %18 = load i32, ptr %.02026, align 8, !tbaa !11
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %4, i32 noundef %18)
  %20 = getelementptr inbounds i8, ptr %.02026, i64 8
  %.020 = load ptr, ptr %20, align 8, !tbaa !9
  %.not22 = icmp eq ptr %.020, null
  br i1 %.not22, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %.preheader.preheader
  %21 = getelementptr inbounds i8, ptr %3, i64 8
  %.02024.1 = load ptr, ptr %21, align 8, !tbaa !9
  %.not2225.1 = icmp eq ptr %.02024.1, null
  br i1 %.not2225.1, label %._crit_edge.1, label %.lr.ph.1

.lr.ph.1:                                         ; preds = %._crit_edge, %.lr.ph.1
  %.02026.1 = phi ptr [ %.020.1, %.lr.ph.1 ], [ %.02024.1, %._crit_edge ]
  %22 = load i32, ptr %.02026.1, align 8, !tbaa !11
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %6, i32 noundef %22)
  %24 = getelementptr inbounds i8, ptr %.02026.1, i64 8
  %.020.1 = load ptr, ptr %24, align 8, !tbaa !9
  %.not22.1 = icmp eq ptr %.020.1, null
  br i1 %.not22.1, label %._crit_edge.1, label %.lr.ph.1, !llvm.loop !13

._crit_edge.1:                                    ; preds = %.lr.ph.1, %._crit_edge
  %25 = getelementptr inbounds i8, ptr %3, i64 16
  %.02024.2 = load ptr, ptr %25, align 8, !tbaa !9
  %.not2225.2 = icmp eq ptr %.02024.2, null
  br i1 %.not2225.2, label %._crit_edge.2, label %.lr.ph.2

.lr.ph.2:                                         ; preds = %._crit_edge.1, %.lr.ph.2
  %.02026.2 = phi ptr [ %.020.2, %.lr.ph.2 ], [ %.02024.2, %._crit_edge.1 ]
  %26 = load i32, ptr %.02026.2, align 8, !tbaa !11
  %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %8, i32 noundef %26)
  %28 = getelementptr inbounds i8, ptr %.02026.2, i64 8
  %.020.2 = load ptr, ptr %28, align 8, !tbaa !9
  %.not22.2 = icmp eq ptr %.020.2, null
  br i1 %.not22.2, label %._crit_edge.2, label %.lr.ph.2, !llvm.loop !13

._crit_edge.2:                                    ; preds = %.lr.ph.2, %._crit_edge.1
  %29 = getelementptr inbounds i8, ptr %3, i64 24
  %.02024.3 = load ptr, ptr %29, align 8, !tbaa !9
  %.not2225.3 = icmp eq ptr %.02024.3, null
  br i1 %.not2225.3, label %._crit_edge.3, label %.lr.ph.3

.lr.ph.3:                                         ; preds = %._crit_edge.2, %.lr.ph.3
  %.02026.3 = phi ptr [ %.020.3, %.lr.ph.3 ], [ %.02024.3, %._crit_edge.2 ]
  %30 = load i32, ptr %.02026.3, align 8, !tbaa !11
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %10, i32 noundef %30)
  %32 = getelementptr inbounds i8, ptr %.02026.3, i64 8
  %.020.3 = load ptr, ptr %32, align 8, !tbaa !9
  %.not22.3 = icmp eq ptr %.020.3, null
  br i1 %.not22.3, label %._crit_edge.3, label %.lr.ph.3, !llvm.loop !13

._crit_edge.3:                                    ; preds = %.lr.ph.3, %._crit_edge.2
  %33 = getelementptr inbounds i8, ptr %3, i64 32
  %.02024.4 = load ptr, ptr %33, align 8, !tbaa !9
  %.not2225.4 = icmp eq ptr %.02024.4, null
  br i1 %.not2225.4, label %._crit_edge.4, label %.lr.ph.4

.lr.ph.4:                                         ; preds = %._crit_edge.3, %.lr.ph.4
  %.02026.4 = phi ptr [ %.020.4, %.lr.ph.4 ], [ %.02024.4, %._crit_edge.3 ]
  %34 = load i32, ptr %.02026.4, align 8, !tbaa !11
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %12, i32 noundef %34)
  %36 = getelementptr inbounds i8, ptr %.02026.4, i64 8
  %.020.4 = load ptr, ptr %36, align 8, !tbaa !9
  %.not22.4 = icmp eq ptr %.020.4, null
  br i1 %.not22.4, label %._crit_edge.4, label %.lr.ph.4, !llvm.loop !13

._crit_edge.4:                                    ; preds = %.lr.ph.4, %._crit_edge.3
  %37 = getelementptr inbounds i8, ptr %3, i64 40
  %.02024.5 = load ptr, ptr %37, align 8, !tbaa !9
  %.not2225.5 = icmp eq ptr %.02024.5, null
  br i1 %.not2225.5, label %._crit_edge.5, label %.lr.ph.5

.lr.ph.5:                                         ; preds = %._crit_edge.4, %.lr.ph.5
  %.02026.5 = phi ptr [ %.020.5, %.lr.ph.5 ], [ %.02024.5, %._crit_edge.4 ]
  %38 = load i32, ptr %.02026.5, align 8, !tbaa !11
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %14, i32 noundef %38)
  %40 = getelementptr inbounds i8, ptr %.02026.5, i64 8
  %.020.5 = load ptr, ptr %40, align 8, !tbaa !9
  %.not22.5 = icmp eq ptr %.020.5, null
  br i1 %.not22.5, label %._crit_edge.5, label %.lr.ph.5, !llvm.loop !13

._crit_edge.5:                                    ; preds = %.lr.ph.5, %._crit_edge.4
  %41 = getelementptr inbounds i8, ptr %3, i64 48
  %.02024.6 = load ptr, ptr %41, align 8, !tbaa !9
  %.not2225.6 = icmp eq ptr %.02024.6, null
  br i1 %.not2225.6, label %._crit_edge.6, label %.lr.ph.6

.lr.ph.6:                                         ; preds = %._crit_edge.5, %.lr.ph.6
  %.02026.6 = phi ptr [ %.020.6, %.lr.ph.6 ], [ %.02024.6, %._crit_edge.5 ]
  %42 = load i32, ptr %.02026.6, align 8, !tbaa !11
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %16, i32 noundef %42)
  %44 = getelementptr inbounds i8, ptr %.02026.6, i64 8
  %.020.6 = load ptr, ptr %44, align 8, !tbaa !9
  %.not22.6 = icmp eq ptr %.020.6, null
  br i1 %.not22.6, label %._crit_edge.6, label %.lr.ph.6, !llvm.loop !13

._crit_edge.6:                                    ; preds = %.lr.ph.6, %._crit_edge.5
  %45 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %46 = tail call noundef zeroext i1 @_Z15hash_modify_keyP11_hash_tableii(ptr noundef nonnull %3, i32 noundef 9, i32 noundef 16)
  %.028 = load ptr, ptr %3, align 8, !tbaa !9
  %.not29 = icmp eq ptr %.028, null
  br i1 %.not29, label %._crit_edge33, label %.lr.ph32

.lr.ph32:                                         ; preds = %._crit_edge.6, %.lr.ph32
  %.030 = phi ptr [ %.0, %.lr.ph32 ], [ %.028, %._crit_edge.6 ]
  %47 = load i32, ptr %.030, align 8, !tbaa !11
  %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %4, i32 noundef %47)
  %49 = getelementptr inbounds i8, ptr %.030, i64 8
  %.0 = load ptr, ptr %49, align 8, !tbaa !9
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %._crit_edge33, label %.lr.ph32, !llvm.loop !15

._crit_edge33:                                    ; preds = %.lr.ph32, %._crit_edge.6
  %.028.1 = load ptr, ptr %21, align 8, !tbaa !9
  %.not29.1 = icmp eq ptr %.028.1, null
  br i1 %.not29.1, label %._crit_edge33.1, label %.lr.ph32.1

.lr.ph32.1:                                       ; preds = %._crit_edge33, %.lr.ph32.1
  %.030.1 = phi ptr [ %.0.1, %.lr.ph32.1 ], [ %.028.1, %._crit_edge33 ]
  %50 = load i32, ptr %.030.1, align 8, !tbaa !11
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %6, i32 noundef %50)
  %52 = getelementptr inbounds i8, ptr %.030.1, i64 8
  %.0.1 = load ptr, ptr %52, align 8, !tbaa !9
  %.not.1 = icmp eq ptr %.0.1, null
  br i1 %.not.1, label %._crit_edge33.1, label %.lr.ph32.1, !llvm.loop !15

._crit_edge33.1:                                  ; preds = %.lr.ph32.1, %._crit_edge33
  %.028.2 = load ptr, ptr %25, align 8, !tbaa !9
  %.not29.2 = icmp eq ptr %.028.2, null
  br i1 %.not29.2, label %._crit_edge33.2, label %.lr.ph32.2

.lr.ph32.2:                                       ; preds = %._crit_edge33.1, %.lr.ph32.2
  %.030.2 = phi ptr [ %.0.2, %.lr.ph32.2 ], [ %.028.2, %._crit_edge33.1 ]
  %53 = load i32, ptr %.030.2, align 8, !tbaa !11
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %8, i32 noundef %53)
  %55 = getelementptr inbounds i8, ptr %.030.2, i64 8
  %.0.2 = load ptr, ptr %55, align 8, !tbaa !9
  %.not.2 = icmp eq ptr %.0.2, null
  br i1 %.not.2, label %._crit_edge33.2, label %.lr.ph32.2, !llvm.loop !15

._crit_edge33.2:                                  ; preds = %.lr.ph32.2, %._crit_edge33.1
  %.028.3 = load ptr, ptr %29, align 8, !tbaa !9
  %.not29.3 = icmp eq ptr %.028.3, null
  br i1 %.not29.3, label %._crit_edge33.3, label %.lr.ph32.3

.lr.ph32.3:                                       ; preds = %._crit_edge33.2, %.lr.ph32.3
  %.030.3 = phi ptr [ %.0.3, %.lr.ph32.3 ], [ %.028.3, %._crit_edge33.2 ]
  %56 = load i32, ptr %.030.3, align 8, !tbaa !11
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %10, i32 noundef %56)
  %58 = getelementptr inbounds i8, ptr %.030.3, i64 8
  %.0.3 = load ptr, ptr %58, align 8, !tbaa !9
  %.not.3 = icmp eq ptr %.0.3, null
  br i1 %.not.3, label %._crit_edge33.3, label %.lr.ph32.3, !llvm.loop !15

._crit_edge33.3:                                  ; preds = %.lr.ph32.3, %._crit_edge33.2
  %.028.4 = load ptr, ptr %33, align 8, !tbaa !9
  %.not29.4 = icmp eq ptr %.028.4, null
  br i1 %.not29.4, label %._crit_edge33.4, label %.lr.ph32.4

.lr.ph32.4:                                       ; preds = %._crit_edge33.3, %.lr.ph32.4
  %.030.4 = phi ptr [ %.0.4, %.lr.ph32.4 ], [ %.028.4, %._crit_edge33.3 ]
  %59 = load i32, ptr %.030.4, align 8, !tbaa !11
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %12, i32 noundef %59)
  %61 = getelementptr inbounds i8, ptr %.030.4, i64 8
  %.0.4 = load ptr, ptr %61, align 8, !tbaa !9
  %.not.4 = icmp eq ptr %.0.4, null
  br i1 %.not.4, label %._crit_edge33.4, label %.lr.ph32.4, !llvm.loop !15

._crit_edge33.4:                                  ; preds = %.lr.ph32.4, %._crit_edge33.3
  %.028.5 = load ptr, ptr %37, align 8, !tbaa !9
  %.not29.5 = icmp eq ptr %.028.5, null
  br i1 %.not29.5, label %._crit_edge33.5, label %.lr.ph32.5

.lr.ph32.5:                                       ; preds = %._crit_edge33.4, %.lr.ph32.5
  %.030.5 = phi ptr [ %.0.5, %.lr.ph32.5 ], [ %.028.5, %._crit_edge33.4 ]
  %62 = load i32, ptr %.030.5, align 8, !tbaa !11
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %14, i32 noundef %62)
  %64 = getelementptr inbounds i8, ptr %.030.5, i64 8
  %.0.5 = load ptr, ptr %64, align 8, !tbaa !9
  %.not.5 = icmp eq ptr %.0.5, null
  br i1 %.not.5, label %._crit_edge33.5, label %.lr.ph32.5, !llvm.loop !15

._crit_edge33.5:                                  ; preds = %.lr.ph32.5, %._crit_edge33.4
  %.028.6 = load ptr, ptr %41, align 8, !tbaa !9
  %.not29.6 = icmp eq ptr %.028.6, null
  br i1 %.not29.6, label %._crit_edge33.6, label %.lr.ph32.6

.lr.ph32.6:                                       ; preds = %._crit_edge33.5, %.lr.ph32.6
  %.030.6 = phi ptr [ %.0.6, %.lr.ph32.6 ], [ %.028.6, %._crit_edge33.5 ]
  %65 = load i32, ptr %.030.6, align 8, !tbaa !11
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %16, i32 noundef %65)
  %67 = getelementptr inbounds i8, ptr %.030.6, i64 8
  %.0.6 = load ptr, ptr %67, align 8, !tbaa !9
  %.not.6 = icmp eq ptr %.0.6, null
  br i1 %.not.6, label %._crit_edge33.6, label %.lr.ph32.6, !llvm.loop !15

._crit_edge33.6:                                  ; preds = %.lr.ph32.6, %._crit_edge33.5
  ret i32 0
}

attributes #0 = { mustprogress 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 = { mustprogress 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 = { mustprogress norecurse 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS10_hash_node", !6, i64 0, !10, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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