; LLVM IR from Simple-XX/SimpleKernel :: src/drv/dtb/dtb.ll (ZN3DTB18print_attr_propencEPKNS_11iter_data_tEPmm)

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

%"class.std::ostream" = type { i8 }
%"struct.DTB::iter_data_t" = type { %"struct.DTB::path_t", ptr, i32, ptr, i32, ptr, i8 }
%"struct.DTB::path_t" = type { [16 x ptr], i64 }

@_ZStL4cout = external hidden global %"class.std::ostream", align 1
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 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: mustprogress uwtable
define dso_local void @_ZN3DTB18print_attr_propencEPKNS_11iter_data_tEPmm(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  %16 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.DTB::iter_data_t", ptr %17, i32 0, i32 4
  %19 = load i32, ptr %18, align 8, !tbaa !13
  store i32 %19, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.DTB::iter_data_t", ptr %20, i32 0, i32 5
  %22 = load ptr, ptr %21, align 8, !tbaa !16
  store ptr %22, ptr %11, align 8, !tbaa !5
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.DTB::iter_data_t", ptr %23, i32 0, i32 3
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %27

27:                                               ; preds = %42, %4
  %28 = load i64, ptr %12, align 8, !tbaa !9
  %29 = load i64, ptr %8, align 8, !tbaa !9
  %30 = icmp ult i64 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %45

32:                                               ; preds = %27
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = load i64, ptr %12, align 8, !tbaa !9
  %35 = getelementptr inbounds i64, ptr %33, i64 %34
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = mul i64 4, %36
  %38 = load i32, ptr %9, align 4, !tbaa !11
  %39 = zext i32 %38 to i64
  %40 = add i64 %39, %37
  %41 = trunc i64 %40 to i32
  store i32 %41, ptr %9, align 4, !tbaa !11
  br label %42

42:                                               ; preds = %32
  %43 = load i64, ptr %12, align 8, !tbaa !9
  %44 = add i64 %43, 1
  store i64 %44, ptr %12, align 8, !tbaa !9
  br label %27, !llvm.loop !18

45:                                               ; preds = %31
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.DTB::iter_data_t", ptr %46, i32 0, i32 4
  %48 = load i32, ptr %47, align 8, !tbaa !13
  %49 = load i32, ptr %9, align 4, !tbaa !11
  %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %48, i32 noundef %49)
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.DTB::iter_data_t", ptr %51, i32 0, i32 4
  %53 = load i32, ptr %52, align 8, !tbaa !13
  %54 = load i32, ptr %9, align 4, !tbaa !11
  %55 = urem i32 %53, %54
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %58

57:                                               ; preds = %45
  br label %60

58:                                               ; preds = %45
  %59 = call i32 (ptr, ...) @err(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 104, ptr noundef @.str.4)
  br label %60

60:                                               ; preds = %58, %57
  br label %61

61:                                               ; preds = %103, %60
  %62 = load i32, ptr %10, align 4, !tbaa !11
  %63 = icmp ugt i32 %62, 0
  br i1 %63, label %64, label %105

64:                                               ; preds = %61
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef @.str.5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %66

66:                                               ; preds = %100, %64
  %67 = load i64, ptr %13, align 8, !tbaa !9
  %68 = load i64, ptr %8, align 8, !tbaa !9
  %69 = icmp ult i64 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %103

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %72

72:                                               ; preds = %89, %71
  %73 = load i64, ptr %15, align 8, !tbaa !9
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = load i64, ptr %13, align 8, !tbaa !9
  %76 = getelementptr inbounds i64, ptr %74, i64 %75
  %77 = load i64, ptr %76, align 8, !tbaa !9
  %78 = icmp ult i64 %73, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %72
  store i32 10, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %92

80:                                               ; preds = %72
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = load i32, ptr %81, align 4, !tbaa !11
  %83 = call noundef i32 @_ZL9__bswap32j(i32 noundef %82)
  %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %83)
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds i32, ptr %85, i32 1
  store ptr %86, ptr %11, align 8, !tbaa !5
  %87 = load i32, ptr %10, align 4, !tbaa !11
  %88 = sub i32 %87, 4
  store i32 %88, ptr %10, align 4, !tbaa !11
  br label %89

89:                                               ; preds = %80
  %90 = load i64, ptr %15, align 8, !tbaa !9
  %91 = add i64 %90, 1
  store i64 %91, ptr %15, align 8, !tbaa !9
  br label %72, !llvm.loop !20

92:                                               ; preds = %79
  %93 = load i64, ptr %13, align 8, !tbaa !9
  %94 = load i64, ptr %8, align 8, !tbaa !9
  %95 = sub i64 %94, 1
  %96 = icmp ne i64 %93, %95
  br i1 %96, label %97, label %99

97:                                               ; preds = %92
  %98 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef @.str.7)
  br label %99

99:                                               ; preds = %97, %92
  br label %100

100:                                              ; preds = %99
  %101 = load i64, ptr %13, align 8, !tbaa !9
  %102 = add i64 %101, 1
  store i64 %102, ptr %13, align 8, !tbaa !9
  br label %66, !llvm.loop !21

103:                                              ; preds = %70
  %104 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef @.str.8)
  br label %61, !llvm.loop !22

105:                                              ; preds = %61
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

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

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

declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL9__bswap32j(i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint 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 #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 160}
!14 = !{!"_ZTSN3DTB11iter_data_tE", !15, i64 0, !6, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !6, i64 168, !7, i64 176}
!15 = !{!"_ZTSN3DTB6path_tE", !7, i64 0, !10, i64 128}
!16 = !{!14, !6, i64 168}
!17 = !{!14, !6, i64 152}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}


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

%"class.std::ostream" = type { i8 }

@_ZStL4cout = external hidden global %"class.std::ostream", align 1
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DTB18print_attr_propencEPKNS_11iter_data_tEPmm(ptr nocapture noundef nonnull readnone align 1 dereferenceable(1) %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %1, i64 160
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 168
  %8 = load ptr, ptr %7, align 8, !tbaa !13
  %9 = getelementptr inbounds i8, ptr %1, i64 152
  %10 = load ptr, ptr %9, align 8, !tbaa !14
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %10)
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  %min.iters.check = icmp ult i64 %3, 4
  br i1 %min.iters.check, label %.lr.ph.preheader68, label %vector.ph

.lr.ph.preheader68:                               ; preds = %middle.block, %.lr.ph.preheader
  %.02736.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %.03235.ph = phi i32 [ 0, %.lr.ph.preheader ], [ %21, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %3, -4
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i32> [ zeroinitializer, %vector.ph ], [ %18, %vector.body ]
  %vec.phi65 = phi <2 x i32> [ zeroinitializer, %vector.ph ], [ %19, %vector.body ]
  %12 = getelementptr inbounds i64, ptr %2, i64 %index
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  %wide.load = load <2 x i64>, ptr %12, align 8, !tbaa !15
  %wide.load66 = load <2 x i64>, ptr %13, align 8, !tbaa !15
  %14 = trunc <2 x i64> %wide.load to <2 x i32>
  %15 = trunc <2 x i64> %wide.load66 to <2 x i32>
  %16 = shl <2 x i32> %14, <i32 2, i32 2>
  %17 = shl <2 x i32> %15, <i32 2, i32 2>
  %18 = add <2 x i32> %16, %vec.phi
  %19 = add <2 x i32> %17, %vec.phi65
  %index.next = add nuw i64 %index, 4
  %20 = icmp eq i64 %index.next, %n.vec
  br i1 %20, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i32> %19, %18
  %21 = tail call i32 @llvm.vector.reduce.add.v2i32(<2 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %3
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader68

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %4
  %.032.lcssa = phi i32 [ 0, %4 ], [ %21, %middle.block ], [ %30, %.lr.ph ]
  %22 = load i32, ptr %5, align 8, !tbaa !5
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %22, i32 noundef %.032.lcssa)
  %24 = load i32, ptr %5, align 8, !tbaa !5
  %25 = urem i32 %24, %.032.lcssa
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %34, label %32

.lr.ph:                                           ; preds = %.lr.ph.preheader68, %.lr.ph
  %.02736 = phi i64 [ %31, %.lr.ph ], [ %.02736.ph, %.lr.ph.preheader68 ]
  %.03235 = phi i32 [ %30, %.lr.ph ], [ %.03235.ph, %.lr.ph.preheader68 ]
  %27 = getelementptr inbounds i64, ptr %2, i64 %.02736
  %28 = load i64, ptr %27, align 8, !tbaa !15
  %.tr = trunc i64 %28 to i32
  %29 = shl i32 %.tr, 2
  %30 = add i32 %29, %.03235
  %31 = add nuw i64 %.02736, 1
  %exitcond.not = icmp eq i64 %31, %3
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

32:                                               ; preds = %._crit_edge
  %33 = tail call i32 (ptr, ...) @err(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 104, ptr noundef nonnull @.str.4)
  br label %34

34:                                               ; preds = %._crit_edge, %32
  %.not50 = icmp eq i32 %6, 0
  br i1 %.not50, label %._crit_edge55, label %.lr.ph54

.lr.ph54:                                         ; preds = %34
  %35 = add i64 %3, -1
  br i1 %.not, label %.lr.ph54.split.split, label %.preheader.lr.ph.us

.preheader.lr.ph.us:                              ; preds = %.lr.ph54, %._crit_edge47.us
  %.02852.us = phi ptr [ %.2.lcssa.us, %._crit_edge47.us ], [ %8, %.lr.ph54 ]
  %.02951.us = phi i32 [ %.231.lcssa.us, %._crit_edge47.us ], [ %6, %.lr.ph54 ]
  %36 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef nonnull @.str.5)
  br label %.preheader.us

._crit_edge41.us:                                 ; preds = %.lr.ph40.us, %.preheader.us
  %.231.lcssa.us = phi i32 [ %.13044.us, %.preheader.us ], [ %45, %.lr.ph40.us ]
  %.2.lcssa.us = phi ptr [ %.145.us, %.preheader.us ], [ %44, %.lr.ph40.us ]
  %.not34.us = icmp eq i64 %.02646.us, %35
  br i1 %.not34.us, label %39, label %37

37:                                               ; preds = %._crit_edge41.us
  %38 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef nonnull @.str.7)
  br label %39

39:                                               ; preds = %37, %._crit_edge41.us
  %40 = add nuw i64 %.02646.us, 1
  %exitcond60.not = icmp eq i64 %40, %3
  br i1 %exitcond60.not, label %._crit_edge47.us, label %.preheader.us, !llvm.loop !21

.lr.ph40.us:                                      ; preds = %.preheader.us, %.lr.ph40.us
  %.039.us = phi i64 [ %46, %.lr.ph40.us ], [ 0, %.preheader.us ]
  %.238.us = phi ptr [ %44, %.lr.ph40.us ], [ %.145.us, %.preheader.us ]
  %.23137.us = phi i32 [ %45, %.lr.ph40.us ], [ %.13044.us, %.preheader.us ]
  %41 = load i32, ptr %.238.us, align 4, !tbaa !22
  %42 = tail call noundef i32 @_ZL9__bswap32j(i32 noundef %41)
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %42)
  %44 = getelementptr inbounds i8, ptr %.238.us, i64 4
  %45 = add i32 %.23137.us, -4
  %46 = add nuw i64 %.039.us, 1
  %47 = load i64, ptr %49, align 8, !tbaa !15
  %48 = icmp ult i64 %46, %47
  br i1 %48, label %.lr.ph40.us, label %._crit_edge41.us, !llvm.loop !23

.preheader.us:                                    ; preds = %.preheader.lr.ph.us, %39
  %.02646.us = phi i64 [ 0, %.preheader.lr.ph.us ], [ %40, %39 ]
  %.145.us = phi ptr [ %.02852.us, %.preheader.lr.ph.us ], [ %.2.lcssa.us, %39 ]
  %.13044.us = phi i32 [ %.02951.us, %.preheader.lr.ph.us ], [ %.231.lcssa.us, %39 ]
  %49 = getelementptr inbounds i64, ptr %2, i64 %.02646.us
  %50 = load i64, ptr %49, align 8, !tbaa !15
  %.not57 = icmp eq i64 %50, 0
  br i1 %.not57, label %._crit_edge41.us, label %.lr.ph40.us

._crit_edge47.us:                                 ; preds = %39
  %51 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef nonnull @.str.8)
  %.not.us = icmp eq i32 %.231.lcssa.us, 0
  br i1 %.not.us, label %._crit_edge55, label %.preheader.lr.ph.us, !llvm.loop !24

.lr.ph54.split.split:                             ; preds = %.lr.ph54, %.lr.ph54.split.split
  %52 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef nonnull @.str.5)
  %53 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL4cout, ptr noundef nonnull @.str.8)
  br label %.lr.ph54.split.split

._crit_edge55:                                    ; preds = %._crit_edge47.us, %34
  ret void
}

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

declare i32 @err(ptr noundef, ...) local_unnamed_addr #2

declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7ostreamlsEPKc(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL9__bswap32j(i32 noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v2i32(<2 x i32>) #4

attributes #0 = { 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 #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 = { "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 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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, !12, i64 160}
!6 = !{!"_ZTSN3DTB11iter_data_tE", !7, i64 0, !11, i64 136, !12, i64 144, !11, i64 152, !12, i64 160, !11, i64 168, !8, i64 176}
!7 = !{!"_ZTSN3DTB6path_tE", !8, i64 0, !10, i64 128}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !11, i64 168}
!14 = !{!6, !11, i64 152}
!15 = !{!10, !10, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !19, !18}
!21 = distinct !{!21, !17}
!22 = !{!12, !12, i64 0}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}


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