; LLVM IR from AnneLivia/Competitive-Programming :: Online Judges/URI/1189 (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 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i8, align 1
  %3 = alloca [12 x [12 x double]], align 16
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 1152, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store double 0.000000e+00, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %34, %0
  %14 = load i32, ptr %7, align 4, !tbaa !9
  %15 = icmp slt i32 %14, 12
  br i1 %15, label %17, label %16

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

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %30, %17
  %19 = load i32, ptr %9, align 4, !tbaa !9
  %20 = icmp slt i32 %19, 12
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %33

22:                                               ; preds = %18
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [12 x [12 x double]], ptr %3, i64 0, i64 %24
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [12 x double], ptr %25, i64 0, i64 %27
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %28)
  br label %30

30:                                               ; preds = %22
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %9, align 4, !tbaa !9
  br label %18, !llvm.loop !11

33:                                               ; preds = %21
  br label %34

34:                                               ; preds = %33
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %7, align 4, !tbaa !9
  br label %13, !llvm.loop !13

37:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %77, %37
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = icmp sle i32 %39, 10
  br i1 %40, label %42, label %41

41:                                               ; preds = %38
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %80

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %60, %42
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %5, align 4, !tbaa !9
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %63

48:                                               ; preds = %43
  %49 = load double, ptr %4, align 8, !tbaa !5
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [12 x [12 x double]], ptr %3, i64 0, i64 %51
  %53 = load i32, ptr %11, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [12 x double], ptr %52, i64 0, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !5
  %57 = fadd double %49, %56
  store double %57, ptr %4, align 8, !tbaa !5
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %6, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %48
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %11, align 4, !tbaa !9
  br label %43, !llvm.loop !14

63:                                               ; preds = %47
  %64 = load i32, ptr %10, align 4, !tbaa !9
  %65 = icmp slt i32 %64, 5
  br i1 %65, label %66, label %69

66:                                               ; preds = %63
  %67 = load i32, ptr %5, align 4, !tbaa !9
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %5, align 4, !tbaa !9
  br label %76

69:                                               ; preds = %63
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = icmp sge i32 %70, 6
  br i1 %71, label %72, label %75

72:                                               ; preds = %69
  %73 = load i32, ptr %5, align 4, !tbaa !9
  %74 = add nsw i32 %73, -1
  store i32 %74, ptr %5, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %72, %69
  br label %76

76:                                               ; preds = %75, %66
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %10, align 4, !tbaa !9
  br label %38, !llvm.loop !15

80:                                               ; preds = %41
  %81 = load i8, ptr %2, align 1, !tbaa !16
  %82 = sext i8 %81 to i32
  switch i32 %82, label %92 [
    i32 83, label %83
    i32 77, label %86
  ]

83:                                               ; preds = %80
  %84 = load double, ptr %4, align 8, !tbaa !5
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %84)
  br label %92

86:                                               ; preds = %80
  %87 = load double, ptr %4, align 8, !tbaa !5
  %88 = load i32, ptr %6, align 4, !tbaa !9
  %89 = sitofp i32 %88 to double
  %90 = fdiv double %87, %89
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %90)
  br label %92

92:                                               ; preds = %86, %83, %80
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 1152, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #4
  %93 = load i32, ptr %1, align 4
  ret i32 %93
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

attributes #0 = { 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 #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 = { 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 = !{!"double", !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}
!15 = distinct !{!15, !12}
!16 = !{!7, !7, i64 0}


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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i8, align 1
  %2 = alloca [12 x [12 x double]], align 16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 1152, ptr nonnull %2) #5
  %3 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %1)
  br label %.preheader31

.preheader31:                                     ; preds = %0, %.preheader31
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %.preheader31 ]
  %4 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 0
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %6 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 1
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %8 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 2
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %10 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 3
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %12 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 4
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %14 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 5
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %16 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 6
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %18 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 7
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %20 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 8
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %22 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 9
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %24 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 10
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %26 = getelementptr inbounds [12 x [12 x double]], ptr %2, i64 0, i64 %indvars.iv, i64 11
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 12
  br i1 %exitcond.not, label %._crit_edge.9, label %.preheader31, !llvm.loop !5

._crit_edge.9:                                    ; preds = %.preheader31
  %28 = getelementptr inbounds i8, ptr %2, i64 96
  %29 = load double, ptr %28, align 16, !tbaa !7
  %30 = fadd double %29, 0.000000e+00
  %31 = getelementptr inbounds i8, ptr %2, i64 192
  %32 = load double, ptr %31, align 16, !tbaa !7
  %33 = fadd double %30, %32
  %34 = getelementptr inbounds i8, ptr %2, i64 200
  %35 = load double, ptr %34, align 8, !tbaa !7
  %36 = fadd double %33, %35
  %37 = getelementptr inbounds i8, ptr %2, i64 288
  %38 = load double, ptr %37, align 16, !tbaa !7
  %39 = fadd double %36, %38
  %40 = getelementptr inbounds i8, ptr %2, i64 296
  %41 = load double, ptr %40, align 8, !tbaa !7
  %42 = fadd double %39, %41
  %43 = getelementptr inbounds i8, ptr %2, i64 304
  %44 = load double, ptr %43, align 16, !tbaa !7
  %45 = fadd double %42, %44
  %46 = getelementptr inbounds i8, ptr %2, i64 384
  %47 = load double, ptr %46, align 16, !tbaa !7
  %48 = fadd double %45, %47
  %49 = getelementptr inbounds i8, ptr %2, i64 392
  %50 = load double, ptr %49, align 8, !tbaa !7
  %51 = fadd double %48, %50
  %52 = getelementptr inbounds i8, ptr %2, i64 400
  %53 = load double, ptr %52, align 16, !tbaa !7
  %54 = fadd double %51, %53
  %55 = getelementptr inbounds i8, ptr %2, i64 408
  %56 = load double, ptr %55, align 8, !tbaa !7
  %57 = fadd double %54, %56
  %58 = getelementptr inbounds i8, ptr %2, i64 480
  %59 = load double, ptr %58, align 16, !tbaa !7
  %60 = fadd double %57, %59
  %61 = getelementptr inbounds i8, ptr %2, i64 488
  %62 = load double, ptr %61, align 8, !tbaa !7
  %63 = fadd double %60, %62
  %64 = getelementptr inbounds i8, ptr %2, i64 496
  %65 = load double, ptr %64, align 16, !tbaa !7
  %66 = fadd double %63, %65
  %67 = getelementptr inbounds i8, ptr %2, i64 504
  %68 = load double, ptr %67, align 8, !tbaa !7
  %69 = fadd double %66, %68
  %70 = getelementptr inbounds i8, ptr %2, i64 512
  %71 = load double, ptr %70, align 16, !tbaa !7
  %72 = fadd double %69, %71
  %73 = getelementptr inbounds i8, ptr %2, i64 576
  %74 = load double, ptr %73, align 16, !tbaa !7
  %75 = fadd double %72, %74
  %76 = getelementptr inbounds i8, ptr %2, i64 584
  %77 = load double, ptr %76, align 8, !tbaa !7
  %78 = fadd double %75, %77
  %79 = getelementptr inbounds i8, ptr %2, i64 592
  %80 = load double, ptr %79, align 16, !tbaa !7
  %81 = fadd double %78, %80
  %82 = getelementptr inbounds i8, ptr %2, i64 600
  %83 = load double, ptr %82, align 8, !tbaa !7
  %84 = fadd double %81, %83
  %85 = getelementptr inbounds i8, ptr %2, i64 608
  %86 = load double, ptr %85, align 16, !tbaa !7
  %87 = fadd double %84, %86
  %88 = getelementptr inbounds i8, ptr %2, i64 672
  %89 = load double, ptr %88, align 16, !tbaa !7
  %90 = fadd double %87, %89
  %91 = getelementptr inbounds i8, ptr %2, i64 680
  %92 = load double, ptr %91, align 8, !tbaa !7
  %93 = fadd double %90, %92
  %94 = getelementptr inbounds i8, ptr %2, i64 688
  %95 = load double, ptr %94, align 16, !tbaa !7
  %96 = fadd double %93, %95
  %97 = getelementptr inbounds i8, ptr %2, i64 696
  %98 = load double, ptr %97, align 8, !tbaa !7
  %99 = fadd double %96, %98
  %100 = getelementptr inbounds i8, ptr %2, i64 768
  %101 = load double, ptr %100, align 16, !tbaa !7
  %102 = fadd double %99, %101
  %103 = getelementptr inbounds i8, ptr %2, i64 776
  %104 = load double, ptr %103, align 8, !tbaa !7
  %105 = fadd double %102, %104
  %106 = getelementptr inbounds i8, ptr %2, i64 784
  %107 = load double, ptr %106, align 16, !tbaa !7
  %108 = fadd double %105, %107
  %109 = getelementptr inbounds i8, ptr %2, i64 864
  %110 = load double, ptr %109, align 16, !tbaa !7
  %111 = fadd double %108, %110
  %112 = getelementptr inbounds i8, ptr %2, i64 872
  %113 = load double, ptr %112, align 8, !tbaa !7
  %114 = fadd double %111, %113
  %115 = getelementptr inbounds i8, ptr %2, i64 960
  %116 = load double, ptr %115, align 16, !tbaa !7
  %117 = fadd double %114, %116
  %118 = load i8, ptr %1, align 1, !tbaa !11
  switch i8 %118, label %122 [
    i8 83, label %.sink.split
    i8 77, label %119
  ]

119:                                              ; preds = %._crit_edge.9
  %120 = fdiv double %117, 3.000000e+01
  br label %.sink.split

.sink.split:                                      ; preds = %._crit_edge.9, %119
  %.sink = phi double [ %120, %119 ], [ %117, %._crit_edge.9 ]
  %121 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %.sink)
  br label %122

122:                                              ; preds = %.sink.split, %._crit_edge.9
  call void @llvm.lifetime.end.p0(i64 1152, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #5
  ret i32 0
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

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

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

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

attributes #0 = { 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 #1 = { mustprogress 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 = { 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 #5 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!9, !9, i64 0}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass