; LLVM IR from tangjz/acm-icpc :: 51nod/1186.ll (Z12miller_rabinn)

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

; 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 nounwind uwtable
declare dso_local noundef { i64, i64 } @_Z7rand120v() #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef { i64, i64 } @_Z7mod_mulnnn(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef { i64, i64 } @_Z7mod_pownnn(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z12miller_rabinn(i64 noundef %0, i64 noundef %1) #1 {
  %3 = alloca i1, align 1
  %4 = alloca i128, align 16
  %5 = alloca i128, align 16
  %6 = alloca i32, align 4
  %7 = alloca i128, align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i128, align 16
  %11 = alloca i128, align 16
  %12 = alloca i128, align 16
  %13 = alloca i128, align 16
  %14 = alloca i128, align 16
  %15 = alloca i128, align 16
  %16 = alloca i128, align 16
  %17 = alloca i32, align 4
  %18 = alloca i128, align 16
  %19 = alloca i128, align 16
  %20 = alloca i128, align 16
  %21 = alloca i128, align 16
  %22 = getelementptr inbounds { i64, i64 }, ptr %4, i32 0, i32 0
  store i64 %0, ptr %22, align 16
  %23 = getelementptr inbounds { i64, i64 }, ptr %4, i32 0, i32 1
  store i64 %1, ptr %23, align 8
  %24 = load i128, ptr %4, align 16, !tbaa !5
  store i128 %24, ptr %5, align 16, !tbaa !5
  %25 = load i128, ptr %5, align 16, !tbaa !5
  %26 = icmp slt i128 %25, 2
  br i1 %26, label %31, label %27

27:                                               ; preds = %2
  %28 = load i128, ptr %5, align 16, !tbaa !5
  %29 = and i128 %28, 1
  %30 = icmp ne i128 %29, 0
  br i1 %30, label %34, label %31

31:                                               ; preds = %27, %2
  %32 = load i128, ptr %5, align 16, !tbaa !5
  %33 = icmp eq i128 %32, 2
  store i1 %33, ptr %3, align 1
  br label %144

34:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #2
  %35 = load i128, ptr %5, align 16, !tbaa !5
  %36 = sub nsw i128 %35, 1
  store i128 %36, ptr %7, align 16, !tbaa !5
  br label %37

37:                                               ; preds = %43, %34
  %38 = load i128, ptr %7, align 16, !tbaa !5
  %39 = and i128 %38, 1
  %40 = icmp ne i128 %39, 0
  %41 = xor i1 %40, true
  br i1 %41, label %42, label %48

42:                                               ; preds = %37
  br label %43

43:                                               ; preds = %42
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %6, align 4, !tbaa !9
  %46 = load i128, ptr %7, align 16, !tbaa !5
  %47 = ashr i128 %46, 1
  store i128 %47, ptr %7, align 16, !tbaa !5
  br label %37, !llvm.loop !11

48:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %137, %48
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = icmp slt i32 %50, 21
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 5, ptr %9, align 4
  br label %140

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #2
  %54 = call noundef { i64, i64 } @_Z7rand120v()
  %55 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 0
  %56 = extractvalue { i64, i64 } %54, 0
  store i64 %56, ptr %55, align 16
  %57 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 1
  %58 = extractvalue { i64, i64 } %54, 1
  store i64 %58, ptr %57, align 8
  %59 = load i128, ptr %11, align 16, !tbaa !5
  %60 = load i128, ptr %5, align 16, !tbaa !5
  %61 = sub nsw i128 %60, 2
  %62 = srem i128 %59, %61
  %63 = add nsw i128 %62, 2
  %64 = load i128, ptr %7, align 16, !tbaa !5
  %65 = load i128, ptr %5, align 16, !tbaa !5
  store i128 %63, ptr %12, align 16, !tbaa !5
  %66 = getelementptr inbounds { i64, i64 }, ptr %12, i32 0, i32 0
  %67 = load i64, ptr %66, align 16
  %68 = getelementptr inbounds { i64, i64 }, ptr %12, i32 0, i32 1
  %69 = load i64, ptr %68, align 8
  store i128 %64, ptr %13, align 16, !tbaa !5
  %70 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %71 = load i64, ptr %70, align 16
  %72 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %73 = load i64, ptr %72, align 8
  store i128 %65, ptr %14, align 16, !tbaa !5
  %74 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %75 = load i64, ptr %74, align 16
  %76 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %77 = load i64, ptr %76, align 8
  %78 = call noundef { i64, i64 } @_Z7mod_pownnn(i64 noundef %67, i64 noundef %69, i64 noundef %71, i64 noundef %73, i64 noundef %75, i64 noundef %77)
  %79 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 0
  %80 = extractvalue { i64, i64 } %78, 0
  store i64 %80, ptr %79, align 16
  %81 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 1
  %82 = extractvalue { i64, i64 } %78, 1
  store i64 %82, ptr %81, align 8
  %83 = load i128, ptr %15, align 16, !tbaa !5
  store i128 %83, ptr %10, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #2
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %124, %53
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = load i32, ptr %6, align 4, !tbaa !9
  %87 = icmp slt i32 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 8, ptr %9, align 4
  br label %127

89:                                               ; preds = %84
  %90 = load i128, ptr %10, align 16, !tbaa !5
  %91 = load i128, ptr %10, align 16, !tbaa !5
  %92 = load i128, ptr %5, align 16, !tbaa !5
  store i128 %90, ptr %18, align 16, !tbaa !5
  %93 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 0
  %94 = load i64, ptr %93, align 16
  %95 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 1
  %96 = load i64, ptr %95, align 8
  store i128 %91, ptr %19, align 16, !tbaa !5
  %97 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 0
  %98 = load i64, ptr %97, align 16
  %99 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 1
  %100 = load i64, ptr %99, align 8
  store i128 %92, ptr %20, align 16, !tbaa !5
  %101 = getelementptr inbounds { i64, i64 }, ptr %20, i32 0, i32 0
  %102 = load i64, ptr %101, align 16
  %103 = getelementptr inbounds { i64, i64 }, ptr %20, i32 0, i32 1
  %104 = load i64, ptr %103, align 8
  %105 = call noundef { i64, i64 } @_Z7mod_mulnnn(i64 noundef %94, i64 noundef %96, i64 noundef %98, i64 noundef %100, i64 noundef %102, i64 noundef %104)
  %106 = getelementptr inbounds { i64, i64 }, ptr %21, i32 0, i32 0
  %107 = extractvalue { i64, i64 } %105, 0
  store i64 %107, ptr %106, align 16
  %108 = getelementptr inbounds { i64, i64 }, ptr %21, i32 0, i32 1
  %109 = extractvalue { i64, i64 } %105, 1
  store i64 %109, ptr %108, align 8
  %110 = load i128, ptr %21, align 16, !tbaa !5
  store i128 %110, ptr %16, align 16, !tbaa !5
  %111 = load i128, ptr %16, align 16, !tbaa !5
  %112 = icmp eq i128 %111, 1
  br i1 %112, label %113, label %122

113:                                              ; preds = %89
  %114 = load i128, ptr %10, align 16, !tbaa !5
  %115 = icmp ne i128 %114, 1
  br i1 %115, label %116, label %122

116:                                              ; preds = %113
  %117 = load i128, ptr %10, align 16, !tbaa !5
  %118 = load i128, ptr %5, align 16, !tbaa !5
  %119 = sub nsw i128 %118, 1
  %120 = icmp ne i128 %117, %119
  br i1 %120, label %121, label %122

121:                                              ; preds = %116
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %127

122:                                              ; preds = %116, %113, %89
  %123 = load i128, ptr %16, align 16, !tbaa !5
  store i128 %123, ptr %10, align 16, !tbaa !5
  br label %124

124:                                              ; preds = %122
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %17, align 4, !tbaa !9
  br label %84, !llvm.loop !13

127:                                              ; preds = %121, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #2
  %128 = load i32, ptr %9, align 4
  switch i32 %128, label %134 [
    i32 8, label %129
  ]

129:                                              ; preds = %127
  %130 = load i128, ptr %10, align 16, !tbaa !5
  %131 = icmp ne i128 %130, 1
  br i1 %131, label %132, label %133

132:                                              ; preds = %129
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %134

133:                                              ; preds = %129
  store i32 0, ptr %9, align 4
  br label %134

134:                                              ; preds = %133, %132, %127
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #2
  %135 = load i32, ptr %9, align 4
  switch i32 %135, label %140 [
    i32 0, label %136
  ]

136:                                              ; preds = %134
  br label %137

137:                                              ; preds = %136
  %138 = load i32, ptr %8, align 4, !tbaa !9
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %8, align 4, !tbaa !9
  br label %49, !llvm.loop !14

140:                                              ; preds = %134, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  %141 = load i32, ptr %9, align 4
  switch i32 %141, label %143 [
    i32 5, label %142
  ]

142:                                              ; preds = %140
  store i1 true, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %143

143:                                              ; preds = %142, %140
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  br label %144

144:                                              ; preds = %143, %31
  %145 = load i1, ptr %3, align 1
  ret i1 %145
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef { i64, i64 } @_Z7rand120v() local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef { i64, i64 } @_Z7mod_mulnnn(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef { i64, i64 } @_Z7mod_pownnn(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z12miller_rabinn(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %.sroa.247.0.insert.ext = zext i64 %1 to i128
  %.sroa.247.0.insert.shift = shl nuw i128 %.sroa.247.0.insert.ext, 64
  %.sroa.046.0.insert.ext = zext i64 %0 to i128
  %.sroa.046.0.insert.insert = or disjoint i128 %.sroa.247.0.insert.shift, %.sroa.046.0.insert.ext
  %3 = icmp slt i128 %.sroa.046.0.insert.insert, 2
  %4 = and i128 %.sroa.046.0.insert.ext, 1
  %.not = icmp eq i128 %4, 0
  %or.cond60 = or i1 %.not, %3
  br i1 %or.cond60, label %5, label %.lr.ph.preheader

5:                                                ; preds = %2
  %6 = icmp eq i128 %.sroa.046.0.insert.insert, 2
  br label %.critedge63

.lr.ph.preheader:                                 ; preds = %2
  %7 = add nsw i128 %.sroa.046.0.insert.insert, -1
  br label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  %extract.t.le = trunc i128 %27 to i64
  %extract.le = lshr i128 %.04972, 65
  %extract.t81.le = trunc nuw nsw i128 %extract.le to i64
  %8 = add nsw i128 %.sroa.046.0.insert.insert, -2
  %.not5875.not = icmp eq i32 %26, 0
  br i1 %.not5875.not, label %.critedge, label %.lr.ph78.us

.lr.ph78.us:                                      ; preds = %.preheader, %..critedge_crit_edge.us
  %.05080.us = phi i32 [ %25, %..critedge_crit_edge.us ], [ 0, %.preheader ]
  %9 = tail call noundef { i64, i64 } @_Z7rand120v()
  %10 = extractvalue { i64, i64 } %9, 0
  %11 = extractvalue { i64, i64 } %9, 1
  %.sroa.222.0.insert.ext.us = zext i64 %11 to i128
  %.sroa.222.0.insert.shift.us = shl nuw i128 %.sroa.222.0.insert.ext.us, 64
  %.sroa.021.0.insert.ext.us = zext i64 %10 to i128
  %.sroa.021.0.insert.insert.us = or disjoint i128 %.sroa.222.0.insert.shift.us, %.sroa.021.0.insert.ext.us
  %12 = srem i128 %.sroa.021.0.insert.insert.us, %8
  %13 = add nsw i128 %12, 2
  %.sroa.019.0.extract.trunc.us = trunc i128 %13 to i64
  %.sroa.220.0.extract.shift.us = lshr i128 %13, 64
  %.sroa.220.0.extract.trunc.us = trunc nuw i128 %.sroa.220.0.extract.shift.us to i64
  %14 = tail call noundef { i64, i64 } @_Z7mod_pownnn(i64 noundef %.sroa.019.0.extract.trunc.us, i64 noundef %.sroa.220.0.extract.trunc.us, i64 noundef %extract.t.le, i64 noundef %extract.t81.le, i64 noundef %0, i64 noundef %1)
  %15 = extractvalue { i64, i64 } %14, 0
  %16 = extractvalue { i64, i64 } %14, 1
  %.sroa.214.0.insert.ext.us = zext i64 %16 to i128
  %.sroa.214.0.insert.shift.us = shl nuw i128 %.sroa.214.0.insert.ext.us, 64
  %.sroa.013.0.insert.ext.us = zext i64 %15 to i128
  %.sroa.013.0.insert.insert.us = or disjoint i128 %.sroa.214.0.insert.shift.us, %.sroa.013.0.insert.ext.us
  br label %19

17:                                               ; preds = %19
  %18 = add nuw i32 %.05576.us, 1
  %exitcond.not = icmp eq i32 %.05576.us, %.04873
  br i1 %exitcond.not, label %..critedge_crit_edge.us, label %19, !llvm.loop !5

19:                                               ; preds = %.lr.ph78.us, %17
  %.05477.us = phi i128 [ %.sroa.013.0.insert.insert.us, %.lr.ph78.us ], [ %.sroa.0.0.insert.insert.us, %17 ]
  %.05576.us = phi i32 [ 0, %.lr.ph78.us ], [ %18, %17 ]
  %.sroa.08.0.extract.trunc.us = trunc i128 %.05477.us to i64
  %.sroa.29.0.extract.shift.us = lshr i128 %.05477.us, 64
  %.sroa.29.0.extract.trunc.us = trunc nuw i128 %.sroa.29.0.extract.shift.us to i64
  %20 = tail call noundef { i64, i64 } @_Z7mod_mulnnn(i64 noundef %.sroa.08.0.extract.trunc.us, i64 noundef %.sroa.29.0.extract.trunc.us, i64 noundef %.sroa.08.0.extract.trunc.us, i64 noundef %.sroa.29.0.extract.trunc.us, i64 noundef %0, i64 noundef %1)
  %21 = extractvalue { i64, i64 } %20, 0
  %22 = extractvalue { i64, i64 } %20, 1
  %.sroa.2.0.insert.ext.us = zext i64 %22 to i128
  %.sroa.2.0.insert.shift.us = shl nuw i128 %.sroa.2.0.insert.ext.us, 64
  %.sroa.0.0.insert.ext.us = zext i64 %21 to i128
  %.sroa.0.0.insert.insert.us = or disjoint i128 %.sroa.2.0.insert.shift.us, %.sroa.0.0.insert.ext.us
  %23 = icmp ne i128 %.sroa.0.0.insert.insert.us, 1
  %24 = icmp eq i128 %.05477.us, 1
  %or.cond.not68.us = or i1 %23, %24
  %.not57.us = icmp eq i128 %.05477.us, %7
  %or.cond61.us = select i1 %or.cond.not68.us, i1 true, i1 %.not57.us
  br i1 %or.cond61.us, label %17, label %.critedge63

..critedge_crit_edge.us:                          ; preds = %17
  %.not59.old.us = icmp eq i128 %.sroa.0.0.insert.insert.us, 1
  %25 = add nuw nsw i32 %.05080.us, 1
  %exitcond86 = icmp ne i32 %25, 21
  %or.cond.not = select i1 %.not59.old.us, i1 %exitcond86, i1 false
  br i1 %or.cond.not, label %.lr.ph78.us, label %.critedge63, !llvm.loop !7

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.04873 = phi i32 [ %26, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.04972 = phi i128 [ %27, %.lr.ph ], [ %7, %.lr.ph.preheader ]
  %26 = add i32 %.04873, 1
  %27 = lshr exact i128 %.04972, 1
  %28 = and i128 %.04972, 2
  %.not56 = icmp eq i128 %28, 0
  br i1 %.not56, label %.lr.ph, label %.preheader, !llvm.loop !8

.critedge:                                        ; preds = %.preheader, %.critedge
  %.05080 = phi i32 [ %37, %.critedge ], [ 0, %.preheader ]
  %29 = tail call noundef { i64, i64 } @_Z7rand120v()
  %30 = extractvalue { i64, i64 } %29, 0
  %31 = extractvalue { i64, i64 } %29, 1
  %.sroa.222.0.insert.ext = zext i64 %31 to i128
  %.sroa.222.0.insert.shift = shl nuw i128 %.sroa.222.0.insert.ext, 64
  %.sroa.021.0.insert.ext = zext i64 %30 to i128
  %.sroa.021.0.insert.insert = or disjoint i128 %.sroa.222.0.insert.shift, %.sroa.021.0.insert.ext
  %32 = srem i128 %.sroa.021.0.insert.insert, %8
  %33 = add nsw i128 %32, 2
  %.sroa.019.0.extract.trunc = trunc i128 %33 to i64
  %.sroa.220.0.extract.shift = lshr i128 %33, 64
  %.sroa.220.0.extract.trunc = trunc nuw i128 %.sroa.220.0.extract.shift to i64
  %34 = tail call noundef { i64, i64 } @_Z7mod_pownnn(i64 noundef %.sroa.019.0.extract.trunc, i64 noundef %.sroa.220.0.extract.trunc, i64 noundef %extract.t.le, i64 noundef %extract.t81.le, i64 noundef %0, i64 noundef %1)
  %35 = extractvalue { i64, i64 } %34, 0
  %36 = extractvalue { i64, i64 } %34, 1
  %.sroa.214.0.insert.ext = zext i64 %36 to i128
  %.sroa.214.0.insert.shift = shl nuw i128 %.sroa.214.0.insert.ext, 64
  %.sroa.013.0.insert.ext = zext i64 %35 to i128
  %.sroa.013.0.insert.insert = or disjoint i128 %.sroa.214.0.insert.shift, %.sroa.013.0.insert.ext
  %.not59.old = icmp eq i128 %.sroa.013.0.insert.insert, 1
  %37 = add nuw nsw i32 %.05080, 1
  %exitcond87 = icmp ne i32 %37, 21
  %or.cond98.not = select i1 %.not59.old, i1 %exitcond87, i1 false
  br i1 %or.cond98.not, label %.critedge, label %.critedge63, !llvm.loop !7

.critedge63:                                      ; preds = %..critedge_crit_edge.us, %19, %.critedge, %5
  %.5 = phi i1 [ %6, %5 ], [ %.not59.old, %.critedge ], [ false, %19 ], [ %.not59.old.us, %..critedge_crit_edge.us ]
  ret i1 %.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" }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}


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