; LLVM IR from AnneLivia/Competitive-Programming :: Online Judges/URI/1183 (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 float]], align 16
  %4 = alloca float, align 4
  %5 = alloca float, 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
  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 576, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store float 0.000000e+00, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store float 0.000000e+00, ptr %5, align 4, !tbaa !5
  %11 = 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 %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %12

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

15:                                               ; preds = %12
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %36

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

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

20:                                               ; preds = %17
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %32

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

29:                                               ; preds = %21
  %30 = load i32, ptr %8, align 4, !tbaa !9
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %8, align 4, !tbaa !9
  br label %17, !llvm.loop !11

32:                                               ; preds = %20
  br label %33

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

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

37:                                               ; preds = %64, %36
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = icmp slt i32 %38, 12
  br i1 %39, label %41, label %40

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

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %10, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %60, %41
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = icmp slt i32 %45, 12
  br i1 %46, label %48, label %47

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

48:                                               ; preds = %44
  %49 = load float, ptr %4, align 4, !tbaa !5
  %50 = load i32, ptr %9, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [12 x [12 x float]], ptr %3, i64 0, i64 %51
  %53 = load i32, ptr %10, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [12 x float], ptr %52, i64 0, i64 %54
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = fadd float %49, %56
  store float %57, ptr %4, align 4, !tbaa !5
  %58 = load float, ptr %5, align 4, !tbaa !5
  %59 = fadd float %58, 1.000000e+00
  store float %59, ptr %5, align 4, !tbaa !5
  br label %60

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

63:                                               ; preds = %47
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %9, align 4, !tbaa !9
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %9, align 4, !tbaa !9
  br label %37, !llvm.loop !15

67:                                               ; preds = %40
  %68 = load i8, ptr %2, align 1, !tbaa !16
  %69 = sext i8 %68 to i32
  switch i32 %69, label %80 [
    i32 115, label %70
    i32 83, label %70
    i32 109, label %74
    i32 77, label %74
  ]

70:                                               ; preds = %67, %67
  %71 = load float, ptr %4, align 4, !tbaa !5
  %72 = fpext float %71 to double
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %72)
  br label %80

74:                                               ; preds = %67, %67
  %75 = load float, ptr %4, align 4, !tbaa !5
  %76 = load float, ptr %5, align 4, !tbaa !5
  %77 = fdiv float %75, %76
  %78 = fpext float %77 to double
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %78)
  br label %80

80:                                               ; preds = %74, %70, %67
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 576, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #4
  %81 = load i32, ptr %1, align 4
  ret i32 %81
}

; 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 @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #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 = !{!"float", !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 float]], align 16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 576, 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 %.preheader24

.preheader24:                                     ; preds = %0, %.preheader24
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %.preheader24 ]
  %4 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 0
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %6 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 1
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %8 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 2
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %10 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 3
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %12 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 4
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %14 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 5
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %16 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 6
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %18 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 7
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %20 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 8
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %22 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 9
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %24 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 10
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %26 = getelementptr inbounds [12 x [12 x float]], ptr %2, i64 0, i64 %indvars.iv, i64 11
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %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 %.loopexit.11, label %.preheader24, !llvm.loop !5

.loopexit.11:                                     ; preds = %.preheader24
  %28 = getelementptr inbounds i8, ptr %2, i64 4
  %29 = load float, ptr %28, align 4, !tbaa !7
  %30 = fadd float %29, 0.000000e+00
  %31 = getelementptr inbounds i8, ptr %2, i64 8
  %32 = load float, ptr %31, align 8, !tbaa !7
  %33 = fadd float %30, %32
  %34 = getelementptr inbounds i8, ptr %2, i64 12
  %35 = load float, ptr %34, align 4, !tbaa !7
  %36 = fadd float %33, %35
  %37 = getelementptr inbounds i8, ptr %2, i64 16
  %38 = load float, ptr %37, align 16, !tbaa !7
  %39 = fadd float %36, %38
  %40 = getelementptr inbounds i8, ptr %2, i64 20
  %41 = load float, ptr %40, align 4, !tbaa !7
  %42 = fadd float %39, %41
  %43 = getelementptr inbounds i8, ptr %2, i64 24
  %44 = load float, ptr %43, align 8, !tbaa !7
  %45 = fadd float %42, %44
  %46 = getelementptr inbounds i8, ptr %2, i64 28
  %47 = load float, ptr %46, align 4, !tbaa !7
  %48 = fadd float %45, %47
  %49 = getelementptr inbounds i8, ptr %2, i64 32
  %50 = load float, ptr %49, align 16, !tbaa !7
  %51 = fadd float %48, %50
  %52 = getelementptr inbounds i8, ptr %2, i64 36
  %53 = load float, ptr %52, align 4, !tbaa !7
  %54 = fadd float %51, %53
  %55 = getelementptr inbounds i8, ptr %2, i64 40
  %56 = load float, ptr %55, align 8, !tbaa !7
  %57 = fadd float %54, %56
  %58 = getelementptr inbounds i8, ptr %2, i64 44
  %59 = load float, ptr %58, align 4, !tbaa !7
  %60 = fadd float %57, %59
  %61 = getelementptr inbounds i8, ptr %2, i64 56
  %62 = load float, ptr %61, align 8, !tbaa !7
  %63 = fadd float %60, %62
  %64 = getelementptr inbounds i8, ptr %2, i64 60
  %65 = load float, ptr %64, align 4, !tbaa !7
  %66 = fadd float %63, %65
  %67 = getelementptr inbounds i8, ptr %2, i64 64
  %68 = load float, ptr %67, align 16, !tbaa !7
  %69 = fadd float %66, %68
  %70 = getelementptr inbounds i8, ptr %2, i64 68
  %71 = load float, ptr %70, align 4, !tbaa !7
  %72 = fadd float %69, %71
  %73 = getelementptr inbounds i8, ptr %2, i64 72
  %74 = load float, ptr %73, align 8, !tbaa !7
  %75 = fadd float %72, %74
  %76 = getelementptr inbounds i8, ptr %2, i64 76
  %77 = load float, ptr %76, align 4, !tbaa !7
  %78 = fadd float %75, %77
  %79 = getelementptr inbounds i8, ptr %2, i64 80
  %80 = load float, ptr %79, align 16, !tbaa !7
  %81 = fadd float %78, %80
  %82 = getelementptr inbounds i8, ptr %2, i64 84
  %83 = load float, ptr %82, align 4, !tbaa !7
  %84 = fadd float %81, %83
  %85 = getelementptr inbounds i8, ptr %2, i64 88
  %86 = load float, ptr %85, align 8, !tbaa !7
  %87 = fadd float %84, %86
  %88 = getelementptr inbounds i8, ptr %2, i64 92
  %89 = load float, ptr %88, align 4, !tbaa !7
  %90 = fadd float %87, %89
  %91 = getelementptr inbounds i8, ptr %2, i64 108
  %92 = load float, ptr %91, align 4, !tbaa !7
  %93 = fadd float %90, %92
  %94 = getelementptr inbounds i8, ptr %2, i64 112
  %95 = load float, ptr %94, align 16, !tbaa !7
  %96 = fadd float %93, %95
  %97 = getelementptr inbounds i8, ptr %2, i64 116
  %98 = load float, ptr %97, align 4, !tbaa !7
  %99 = fadd float %96, %98
  %100 = getelementptr inbounds i8, ptr %2, i64 120
  %101 = load float, ptr %100, align 8, !tbaa !7
  %102 = fadd float %99, %101
  %103 = getelementptr inbounds i8, ptr %2, i64 124
  %104 = load float, ptr %103, align 4, !tbaa !7
  %105 = fadd float %102, %104
  %106 = getelementptr inbounds i8, ptr %2, i64 128
  %107 = load float, ptr %106, align 16, !tbaa !7
  %108 = fadd float %105, %107
  %109 = getelementptr inbounds i8, ptr %2, i64 132
  %110 = load float, ptr %109, align 4, !tbaa !7
  %111 = fadd float %108, %110
  %112 = getelementptr inbounds i8, ptr %2, i64 136
  %113 = load float, ptr %112, align 8, !tbaa !7
  %114 = fadd float %111, %113
  %115 = getelementptr inbounds i8, ptr %2, i64 140
  %116 = load float, ptr %115, align 4, !tbaa !7
  %117 = fadd float %114, %116
  %118 = getelementptr inbounds i8, ptr %2, i64 160
  %119 = load float, ptr %118, align 16, !tbaa !7
  %120 = fadd float %117, %119
  %121 = getelementptr inbounds i8, ptr %2, i64 164
  %122 = load float, ptr %121, align 4, !tbaa !7
  %123 = fadd float %120, %122
  %124 = getelementptr inbounds i8, ptr %2, i64 168
  %125 = load float, ptr %124, align 8, !tbaa !7
  %126 = fadd float %123, %125
  %127 = getelementptr inbounds i8, ptr %2, i64 172
  %128 = load float, ptr %127, align 4, !tbaa !7
  %129 = fadd float %126, %128
  %130 = getelementptr inbounds i8, ptr %2, i64 176
  %131 = load float, ptr %130, align 16, !tbaa !7
  %132 = fadd float %129, %131
  %133 = getelementptr inbounds i8, ptr %2, i64 180
  %134 = load float, ptr %133, align 4, !tbaa !7
  %135 = fadd float %132, %134
  %136 = getelementptr inbounds i8, ptr %2, i64 184
  %137 = load float, ptr %136, align 8, !tbaa !7
  %138 = fadd float %135, %137
  %139 = getelementptr inbounds i8, ptr %2, i64 188
  %140 = load float, ptr %139, align 4, !tbaa !7
  %141 = fadd float %138, %140
  %142 = getelementptr inbounds i8, ptr %2, i64 212
  %143 = load float, ptr %142, align 4, !tbaa !7
  %144 = fadd float %141, %143
  %145 = getelementptr inbounds i8, ptr %2, i64 216
  %146 = load float, ptr %145, align 8, !tbaa !7
  %147 = fadd float %144, %146
  %148 = getelementptr inbounds i8, ptr %2, i64 220
  %149 = load float, ptr %148, align 4, !tbaa !7
  %150 = fadd float %147, %149
  %151 = getelementptr inbounds i8, ptr %2, i64 224
  %152 = load float, ptr %151, align 16, !tbaa !7
  %153 = fadd float %150, %152
  %154 = getelementptr inbounds i8, ptr %2, i64 228
  %155 = load float, ptr %154, align 4, !tbaa !7
  %156 = fadd float %153, %155
  %157 = getelementptr inbounds i8, ptr %2, i64 232
  %158 = load float, ptr %157, align 8, !tbaa !7
  %159 = fadd float %156, %158
  %160 = getelementptr inbounds i8, ptr %2, i64 236
  %161 = load float, ptr %160, align 4, !tbaa !7
  %162 = fadd float %159, %161
  %163 = getelementptr inbounds i8, ptr %2, i64 264
  %164 = load float, ptr %163, align 8, !tbaa !7
  %165 = fadd float %162, %164
  %166 = getelementptr inbounds i8, ptr %2, i64 268
  %167 = load float, ptr %166, align 4, !tbaa !7
  %168 = fadd float %165, %167
  %169 = getelementptr inbounds i8, ptr %2, i64 272
  %170 = load float, ptr %169, align 16, !tbaa !7
  %171 = fadd float %168, %170
  %172 = getelementptr inbounds i8, ptr %2, i64 276
  %173 = load float, ptr %172, align 4, !tbaa !7
  %174 = fadd float %171, %173
  %175 = getelementptr inbounds i8, ptr %2, i64 280
  %176 = load float, ptr %175, align 8, !tbaa !7
  %177 = fadd float %174, %176
  %178 = getelementptr inbounds i8, ptr %2, i64 284
  %179 = load float, ptr %178, align 4, !tbaa !7
  %180 = fadd float %177, %179
  %181 = getelementptr inbounds i8, ptr %2, i64 316
  %182 = load float, ptr %181, align 4, !tbaa !7
  %183 = fadd float %180, %182
  %184 = getelementptr inbounds i8, ptr %2, i64 320
  %185 = load float, ptr %184, align 16, !tbaa !7
  %186 = fadd float %183, %185
  %187 = getelementptr inbounds i8, ptr %2, i64 324
  %188 = load float, ptr %187, align 4, !tbaa !7
  %189 = fadd float %186, %188
  %190 = getelementptr inbounds i8, ptr %2, i64 328
  %191 = load float, ptr %190, align 8, !tbaa !7
  %192 = fadd float %189, %191
  %193 = getelementptr inbounds i8, ptr %2, i64 332
  %194 = load float, ptr %193, align 4, !tbaa !7
  %195 = fadd float %192, %194
  %196 = getelementptr inbounds i8, ptr %2, i64 368
  %197 = load float, ptr %196, align 16, !tbaa !7
  %198 = fadd float %195, %197
  %199 = getelementptr inbounds i8, ptr %2, i64 372
  %200 = load float, ptr %199, align 4, !tbaa !7
  %201 = fadd float %198, %200
  %202 = getelementptr inbounds i8, ptr %2, i64 376
  %203 = load float, ptr %202, align 8, !tbaa !7
  %204 = fadd float %201, %203
  %205 = getelementptr inbounds i8, ptr %2, i64 380
  %206 = load float, ptr %205, align 4, !tbaa !7
  %207 = fadd float %204, %206
  %208 = getelementptr inbounds i8, ptr %2, i64 420
  %209 = load float, ptr %208, align 4, !tbaa !7
  %210 = fadd float %207, %209
  %211 = getelementptr inbounds i8, ptr %2, i64 424
  %212 = load float, ptr %211, align 8, !tbaa !7
  %213 = fadd float %210, %212
  %214 = getelementptr inbounds i8, ptr %2, i64 428
  %215 = load float, ptr %214, align 4, !tbaa !7
  %216 = fadd float %213, %215
  %217 = getelementptr inbounds i8, ptr %2, i64 472
  %218 = load float, ptr %217, align 8, !tbaa !7
  %219 = fadd float %216, %218
  %220 = getelementptr inbounds i8, ptr %2, i64 476
  %221 = load float, ptr %220, align 4, !tbaa !7
  %222 = fadd float %219, %221
  %223 = getelementptr inbounds i8, ptr %2, i64 524
  %224 = load float, ptr %223, align 4, !tbaa !7
  %225 = fadd float %222, %224
  %226 = load i8, ptr %1, align 1, !tbaa !11
  switch i8 %226, label %231 [
    i8 115, label %.sink.split
    i8 83, label %.sink.split
    i8 109, label %227
    i8 77, label %227
  ]

227:                                              ; preds = %.loopexit.11, %.loopexit.11
  %228 = fdiv float %225, 6.600000e+01
  br label %.sink.split

.sink.split:                                      ; preds = %.loopexit.11, %.loopexit.11, %227
  %.sink47 = phi float [ %228, %227 ], [ %225, %.loopexit.11 ], [ %225, %.loopexit.11 ]
  %229 = fpext float %.sink47 to double
  %230 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %229)
  br label %231

231:                                              ; preds = %.sink.split, %.loopexit.11
  call void @llvm.lifetime.end.p0(i64 576, 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 @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) 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 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!9, !9, i64 0}


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