; LLVM IR from xirc/cp-algorithm :: atcoder/abc184/D (main)

; 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::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"struct.std::_Setprecision" = type { i32 }

@A = external dso_local global i32, align 4
@B = external dso_local global i32, align 4
@C = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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
declare dso_local noundef x86_fp80 @_Z4probiii(i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca x86_fp80, align 16
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca x86_fp80, align 16
  %9 = alloca %"struct.std::_Setprecision", align 4
  store i32 0, ptr %1, align 4
  %10 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %13
  %15 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %14, ptr noundef null)
  %16 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %18
  %20 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %19, ptr noundef null)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @A)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) @B)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) @C)
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #8
  store x86_fp80 0xK00000000000000000000, ptr %2, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %24 = load i32, ptr @A, align 4, !tbaa !11
  store i32 %24, ptr %3, align 4, !tbaa !11
  br label %25

25:                                               ; preds = %101, %0
  %26 = load i32, ptr %3, align 4, !tbaa !11
  %27 = icmp sle i32 %26, 100
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %104

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %30 = load i32, ptr @B, align 4, !tbaa !11
  store i32 %30, ptr %5, align 4, !tbaa !11
  br label %31

31:                                               ; preds = %97, %29
  %32 = load i32, ptr %5, align 4, !tbaa !11
  %33 = icmp sle i32 %32, 100
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %100

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %36 = load i32, ptr @C, align 4, !tbaa !11
  store i32 %36, ptr %6, align 4, !tbaa !11
  br label %37

37:                                               ; preds = %93, %35
  %38 = load i32, ptr %6, align 4, !tbaa !11
  %39 = icmp sle i32 %38, 100
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %96

41:                                               ; preds = %37
  %42 = load i32, ptr %3, align 4, !tbaa !11
  %43 = icmp ne i32 %42, 100
  br i1 %43, label %44, label %51

44:                                               ; preds = %41
  %45 = load i32, ptr %5, align 4, !tbaa !11
  %46 = icmp ne i32 %45, 100
  br i1 %46, label %47, label %51

47:                                               ; preds = %44
  %48 = load i32, ptr %6, align 4, !tbaa !11
  %49 = icmp ne i32 %48, 100
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  br label %93

51:                                               ; preds = %47, %44, %41
  %52 = load i32, ptr %3, align 4, !tbaa !11
  %53 = icmp eq i32 %52, 100
  br i1 %53, label %54, label %58

54:                                               ; preds = %51
  %55 = load i32, ptr %5, align 4, !tbaa !11
  %56 = icmp eq i32 %55, 100
  br i1 %56, label %57, label %58

57:                                               ; preds = %54
  br label %93

58:                                               ; preds = %54, %51
  %59 = load i32, ptr %5, align 4, !tbaa !11
  %60 = icmp eq i32 %59, 100
  br i1 %60, label %61, label %65

61:                                               ; preds = %58
  %62 = load i32, ptr %6, align 4, !tbaa !11
  %63 = icmp eq i32 %62, 100
  br i1 %63, label %64, label %65

64:                                               ; preds = %61
  br label %93

65:                                               ; preds = %61, %58
  %66 = load i32, ptr %6, align 4, !tbaa !11
  %67 = icmp eq i32 %66, 100
  br i1 %67, label %68, label %72

68:                                               ; preds = %65
  %69 = load i32, ptr %3, align 4, !tbaa !11
  %70 = icmp eq i32 %69, 100
  br i1 %70, label %71, label %72

71:                                               ; preds = %68
  br label %93

72:                                               ; preds = %68, %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %73 = load i32, ptr %3, align 4, !tbaa !11
  %74 = load i32, ptr %5, align 4, !tbaa !11
  %75 = add nsw i32 %73, %74
  %76 = load i32, ptr %6, align 4, !tbaa !11
  %77 = add nsw i32 %75, %76
  %78 = load i32, ptr @A, align 4, !tbaa !11
  %79 = sub nsw i32 %77, %78
  %80 = load i32, ptr @B, align 4, !tbaa !11
  %81 = sub nsw i32 %79, %80
  %82 = load i32, ptr @C, align 4, !tbaa !11
  %83 = sub nsw i32 %81, %82
  store i32 %83, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  %84 = load i32, ptr %3, align 4, !tbaa !11
  %85 = load i32, ptr %5, align 4, !tbaa !11
  %86 = load i32, ptr %6, align 4, !tbaa !11
  %87 = call noundef x86_fp80 @_Z4probiii(i32 noundef %84, i32 noundef %85, i32 noundef %86)
  store x86_fp80 %87, ptr %8, align 16, !tbaa !8
  %88 = load i32, ptr %7, align 4, !tbaa !11
  %89 = sitofp i32 %88 to x86_fp80
  %90 = load x86_fp80, ptr %8, align 16, !tbaa !8
  %91 = load x86_fp80, ptr %2, align 16, !tbaa !8
  %92 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %89, x86_fp80 %90, x86_fp80 %91)
  store x86_fp80 %92, ptr %2, align 16, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %93

93:                                               ; preds = %72, %71, %64, %57, %50
  %94 = load i32, ptr %6, align 4, !tbaa !11
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %6, align 4, !tbaa !11
  br label %37, !llvm.loop !13

96:                                               ; preds = %40
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %5, align 4, !tbaa !11
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %5, align 4, !tbaa !11
  br label %31, !llvm.loop !15

100:                                              ; preds = %34
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %3, align 4, !tbaa !11
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %3, align 4, !tbaa !11
  br label %25, !llvm.loop !16

104:                                              ; preds = %28
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %106 = call i32 @_ZSt12setprecisioni(i32 noundef 7)
  %107 = getelementptr inbounds %"struct.std::_Setprecision", ptr %9, i32 0, i32 0
  store i32 %106, ptr %107, align 4
  %108 = getelementptr inbounds %"struct.std::_Setprecision", ptr %9, i32 0, i32 0
  %109 = load i32, ptr %108, align 4
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %105, i32 %109)
  %111 = load x86_fp80, ptr %2, align 16, !tbaa !8
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %110, x86_fp80 noundef %111)
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #8
  %114 = load i32, ptr %1, align 4
  ret i32 %114
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #3

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #4 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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 = { 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 #3 = { "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 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { inlinehint 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 #7 = { 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 #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long double", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; 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::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@A = external dso_local global i32, align 4
@B = external dso_local global i32, align 4
@C = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z4probiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %2 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %5 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %4
  %6 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %5, ptr noundef null)
  %7 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %9
  %11 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %10, ptr noundef null)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @A)
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) @B)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) @C)
  %15 = load i32, ptr @A, align 4, !tbaa !8
  %16 = icmp slt i32 %15, 101
  %17 = load i32, ptr @B, align 4
  %18 = icmp slt i32 %17, 101
  %or.cond71 = select i1 %16, i1 %18, i1 false
  br i1 %or.cond71, label %.lr.ph58.split, label %._crit_edge59

._crit_edge59:                                    ; preds = %._crit_edge51, %0
  %.0.lcssa = phi x86_fp80 [ 0xK00000000000000000000, %0 ], [ %.1.lcssa, %._crit_edge51 ]
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %20 = tail call i32 @_ZSt12setprecisioni(i32 noundef 7)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 %20)
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %21, x86_fp80 noundef %.0.lcssa)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0

.lr.ph58.splitthread-pre-split:                   ; preds = %._crit_edge51
  %.pr = load i32, ptr @B, align 4, !tbaa !8
  br label %.lr.ph58.split

.lr.ph58.split:                                   ; preds = %0, %.lr.ph58.splitthread-pre-split
  %24 = phi i32 [ %.pr, %.lr.ph58.splitthread-pre-split ], [ %17, %0 ]
  %.056 = phi x86_fp80 [ %.1.lcssa, %.lr.ph58.splitthread-pre-split ], [ 0xK00000000000000000000, %0 ]
  %.03454 = phi i32 [ %30, %.lr.ph58.splitthread-pre-split ], [ %15, %0 ]
  %25 = icmp slt i32 %24, 101
  br i1 %25, label %.lr.ph50, label %._crit_edge51

.lr.ph50:                                         ; preds = %.lr.ph58.split
  %26 = icmp ne i32 %.03454, 100
  %27 = icmp eq i32 %.03454, 100
  %28 = load i32, ptr @C, align 4, !tbaa !8
  %29 = icmp slt i32 %28, 101
  br i1 %29, label %.lr.ph50.split, label %._crit_edge51

._crit_edge51:                                    ; preds = %._crit_edge, %.lr.ph50, %.lr.ph58.split
  %.1.lcssa = phi x86_fp80 [ %.056, %.lr.ph58.split ], [ %.056, %.lr.ph50 ], [ %.2.lcssa, %._crit_edge ]
  %30 = add i32 %.03454, 1
  %exitcond68.not = icmp eq i32 %30, 101
  br i1 %exitcond68.not, label %._crit_edge59, label %.lr.ph58.splitthread-pre-split, !llvm.loop !11

.lr.ph50.splitthread-pre-split:                   ; preds = %._crit_edge
  %.pr69 = load i32, ptr @C, align 4, !tbaa !8
  br label %.lr.ph50.split

.lr.ph50.split:                                   ; preds = %.lr.ph50, %.lr.ph50.splitthread-pre-split
  %31 = phi i32 [ %.pr69, %.lr.ph50.splitthread-pre-split ], [ %28, %.lr.ph50 ]
  %.148 = phi x86_fp80 [ %.2.lcssa, %.lr.ph50.splitthread-pre-split ], [ %.056, %.lr.ph50 ]
  %.03646 = phi i32 [ %35, %.lr.ph50.splitthread-pre-split ], [ %24, %.lr.ph50 ]
  %32 = icmp slt i32 %31, 101
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph50.split
  %33 = icmp ne i32 %.03646, 100
  %or.cond = and i1 %26, %33
  %or.cond.fr = freeze i1 %or.cond
  %34 = icmp eq i32 %.03646, 100
  %or.cond5 = and i1 %27, %34
  %or.cond738 = or i1 %27, %34
  %.neg40 = add i32 %.03646, %.03454
  %or.cond5.fr = freeze i1 %or.cond5
  br i1 %or.cond5.fr, label %._crit_edge, label %.lr.ph.split

._crit_edge:                                      ; preds = %48, %.lr.ph, %.lr.ph50.split
  %.2.lcssa = phi x86_fp80 [ %.148, %.lr.ph50.split ], [ %.148, %.lr.ph ], [ %.3, %48 ]
  %35 = add i32 %.03646, 1
  %exitcond67.not = icmp eq i32 %35, 101
  br i1 %exitcond67.not, label %._crit_edge51, label %.lr.ph50.splitthread-pre-split, !llvm.loop !14

.lr.ph.split:                                     ; preds = %.lr.ph, %48
  %.244 = phi x86_fp80 [ %.3, %48 ], [ %.148, %.lr.ph ]
  %.03543 = phi i32 [ %49, %48 ], [ %31, %.lr.ph ]
  %36 = icmp ne i32 %.03543, 100
  %or.cond3 = and i1 %or.cond.fr, %36
  %37 = icmp eq i32 %.03543, 100
  %or.cond37 = and i1 %or.cond738, %37
  %or.cond62 = or i1 %or.cond3, %or.cond37
  br i1 %or.cond62, label %48, label %38

38:                                               ; preds = %.lr.ph.split
  %39 = load i32, ptr @A, align 4, !tbaa !8
  %40 = load i32, ptr @B, align 4, !tbaa !8
  %41 = load i32, ptr @C, align 4, !tbaa !8
  %.neg42 = add i32 %.neg40, %.03543
  %42 = add i32 %39, %40
  %43 = add i32 %42, %41
  %44 = sub i32 %.neg42, %43
  %45 = tail call noundef x86_fp80 @_Z4probiii(i32 noundef %.03454, i32 noundef %.03646, i32 noundef %.03543)
  %46 = sitofp i32 %44 to x86_fp80
  %47 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %46, x86_fp80 %45, x86_fp80 %.244)
  br label %48

48:                                               ; preds = %.lr.ph.split, %38
  %.3 = phi x86_fp80 [ %.244, %.lr.ph.split ], [ %47, %38 ]
  %49 = add i32 %.03543, 1
  %exitcond.not = icmp eq i32 %49, 101
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !15
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12, !13}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.unswitch.partial.disable"}
!14 = distinct !{!14, !12, !13}
!15 = distinct !{!15, !12}


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