; LLVM IR from AnneLivia/Competitive-Programming :: Online Judges/URI/1184 (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 = %63, %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 %66

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

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

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

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

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

62:                                               ; preds = %46
  br label %63

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

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

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

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

79:                                               ; preds = %73, %69, %66
  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
  %80 = load i32, ptr %1, align 4
  ret i32 %80
}

; 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 %.preheader25

.preheader25:                                     ; preds = %0, %.preheader25
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %.preheader25 ]
  %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 %._crit_edge.11, label %.preheader25, !llvm.loop !5

._crit_edge.11:                                   ; preds = %.preheader25
  %28 = getelementptr inbounds i8, ptr %2, i64 48
  %29 = load float, ptr %28, align 16, !tbaa !7
  %30 = fadd float %29, 0.000000e+00
  %31 = getelementptr inbounds i8, ptr %2, i64 96
  %32 = load float, ptr %31, align 16, !tbaa !7
  %33 = fadd float %30, %32
  %34 = getelementptr inbounds i8, ptr %2, i64 100
  %35 = load float, ptr %34, align 4, !tbaa !7
  %36 = fadd float %33, %35
  %37 = getelementptr inbounds i8, ptr %2, i64 144
  %38 = load float, ptr %37, align 16, !tbaa !7
  %39 = fadd float %36, %38
  %40 = getelementptr inbounds i8, ptr %2, i64 148
  %41 = load float, ptr %40, align 4, !tbaa !7
  %42 = fadd float %39, %41
  %43 = getelementptr inbounds i8, ptr %2, i64 152
  %44 = load float, ptr %43, align 8, !tbaa !7
  %45 = fadd float %42, %44
  %46 = getelementptr inbounds i8, ptr %2, i64 192
  %47 = load float, ptr %46, align 16, !tbaa !7
  %48 = fadd float %45, %47
  %49 = getelementptr inbounds i8, ptr %2, i64 196
  %50 = load float, ptr %49, align 4, !tbaa !7
  %51 = fadd float %48, %50
  %52 = getelementptr inbounds i8, ptr %2, i64 200
  %53 = load float, ptr %52, align 8, !tbaa !7
  %54 = fadd float %51, %53
  %55 = getelementptr inbounds i8, ptr %2, i64 204
  %56 = load float, ptr %55, align 4, !tbaa !7
  %57 = fadd float %54, %56
  %58 = getelementptr inbounds i8, ptr %2, i64 240
  %59 = load float, ptr %58, align 16, !tbaa !7
  %60 = fadd float %57, %59
  %61 = getelementptr inbounds i8, ptr %2, i64 244
  %62 = load float, ptr %61, align 4, !tbaa !7
  %63 = fadd float %60, %62
  %64 = getelementptr inbounds i8, ptr %2, i64 248
  %65 = load float, ptr %64, align 8, !tbaa !7
  %66 = fadd float %63, %65
  %67 = getelementptr inbounds i8, ptr %2, i64 252
  %68 = load float, ptr %67, align 4, !tbaa !7
  %69 = fadd float %66, %68
  %70 = getelementptr inbounds i8, ptr %2, i64 256
  %71 = load float, ptr %70, align 16, !tbaa !7
  %72 = fadd float %69, %71
  %73 = getelementptr inbounds i8, ptr %2, i64 288
  %74 = load float, ptr %73, align 16, !tbaa !7
  %75 = fadd float %72, %74
  %76 = getelementptr inbounds i8, ptr %2, i64 292
  %77 = load float, ptr %76, align 4, !tbaa !7
  %78 = fadd float %75, %77
  %79 = getelementptr inbounds i8, ptr %2, i64 296
  %80 = load float, ptr %79, align 8, !tbaa !7
  %81 = fadd float %78, %80
  %82 = getelementptr inbounds i8, ptr %2, i64 300
  %83 = load float, ptr %82, align 4, !tbaa !7
  %84 = fadd float %81, %83
  %85 = getelementptr inbounds i8, ptr %2, i64 304
  %86 = load float, ptr %85, align 16, !tbaa !7
  %87 = fadd float %84, %86
  %88 = getelementptr inbounds i8, ptr %2, i64 308
  %89 = load float, ptr %88, align 4, !tbaa !7
  %90 = fadd float %87, %89
  %91 = getelementptr inbounds i8, ptr %2, i64 336
  %92 = load float, ptr %91, align 16, !tbaa !7
  %93 = fadd float %90, %92
  %94 = getelementptr inbounds i8, ptr %2, i64 340
  %95 = load float, ptr %94, align 4, !tbaa !7
  %96 = fadd float %93, %95
  %97 = getelementptr inbounds i8, ptr %2, i64 344
  %98 = load float, ptr %97, align 8, !tbaa !7
  %99 = fadd float %96, %98
  %100 = getelementptr inbounds i8, ptr %2, i64 348
  %101 = load float, ptr %100, align 4, !tbaa !7
  %102 = fadd float %99, %101
  %103 = getelementptr inbounds i8, ptr %2, i64 352
  %104 = load float, ptr %103, align 16, !tbaa !7
  %105 = fadd float %102, %104
  %106 = getelementptr inbounds i8, ptr %2, i64 356
  %107 = load float, ptr %106, align 4, !tbaa !7
  %108 = fadd float %105, %107
  %109 = getelementptr inbounds i8, ptr %2, i64 360
  %110 = load float, ptr %109, align 8, !tbaa !7
  %111 = fadd float %108, %110
  %112 = getelementptr inbounds i8, ptr %2, i64 384
  %113 = load float, ptr %112, align 16, !tbaa !7
  %114 = fadd float %111, %113
  %115 = getelementptr inbounds i8, ptr %2, i64 388
  %116 = load float, ptr %115, align 4, !tbaa !7
  %117 = fadd float %114, %116
  %118 = getelementptr inbounds i8, ptr %2, i64 392
  %119 = load float, ptr %118, align 8, !tbaa !7
  %120 = fadd float %117, %119
  %121 = getelementptr inbounds i8, ptr %2, i64 396
  %122 = load float, ptr %121, align 4, !tbaa !7
  %123 = fadd float %120, %122
  %124 = getelementptr inbounds i8, ptr %2, i64 400
  %125 = load float, ptr %124, align 16, !tbaa !7
  %126 = fadd float %123, %125
  %127 = getelementptr inbounds i8, ptr %2, i64 404
  %128 = load float, ptr %127, align 4, !tbaa !7
  %129 = fadd float %126, %128
  %130 = getelementptr inbounds i8, ptr %2, i64 408
  %131 = load float, ptr %130, align 8, !tbaa !7
  %132 = fadd float %129, %131
  %133 = getelementptr inbounds i8, ptr %2, i64 412
  %134 = load float, ptr %133, align 4, !tbaa !7
  %135 = fadd float %132, %134
  %136 = getelementptr inbounds i8, ptr %2, i64 432
  %137 = load float, ptr %136, align 16, !tbaa !7
  %138 = fadd float %135, %137
  %139 = getelementptr inbounds i8, ptr %2, i64 436
  %140 = load float, ptr %139, align 4, !tbaa !7
  %141 = fadd float %138, %140
  %142 = getelementptr inbounds i8, ptr %2, i64 440
  %143 = load float, ptr %142, align 8, !tbaa !7
  %144 = fadd float %141, %143
  %145 = getelementptr inbounds i8, ptr %2, i64 444
  %146 = load float, ptr %145, align 4, !tbaa !7
  %147 = fadd float %144, %146
  %148 = getelementptr inbounds i8, ptr %2, i64 448
  %149 = load float, ptr %148, align 16, !tbaa !7
  %150 = fadd float %147, %149
  %151 = getelementptr inbounds i8, ptr %2, i64 452
  %152 = load float, ptr %151, align 4, !tbaa !7
  %153 = fadd float %150, %152
  %154 = getelementptr inbounds i8, ptr %2, i64 456
  %155 = load float, ptr %154, align 8, !tbaa !7
  %156 = fadd float %153, %155
  %157 = getelementptr inbounds i8, ptr %2, i64 460
  %158 = load float, ptr %157, align 4, !tbaa !7
  %159 = fadd float %156, %158
  %160 = getelementptr inbounds i8, ptr %2, i64 464
  %161 = load float, ptr %160, align 16, !tbaa !7
  %162 = fadd float %159, %161
  %163 = getelementptr inbounds i8, ptr %2, i64 480
  %164 = load float, ptr %163, align 16, !tbaa !7
  %165 = fadd float %162, %164
  %166 = getelementptr inbounds i8, ptr %2, i64 484
  %167 = load float, ptr %166, align 4, !tbaa !7
  %168 = fadd float %165, %167
  %169 = getelementptr inbounds i8, ptr %2, i64 488
  %170 = load float, ptr %169, align 8, !tbaa !7
  %171 = fadd float %168, %170
  %172 = getelementptr inbounds i8, ptr %2, i64 492
  %173 = load float, ptr %172, align 4, !tbaa !7
  %174 = fadd float %171, %173
  %175 = getelementptr inbounds i8, ptr %2, i64 496
  %176 = load float, ptr %175, align 16, !tbaa !7
  %177 = fadd float %174, %176
  %178 = getelementptr inbounds i8, ptr %2, i64 500
  %179 = load float, ptr %178, align 4, !tbaa !7
  %180 = fadd float %177, %179
  %181 = getelementptr inbounds i8, ptr %2, i64 504
  %182 = load float, ptr %181, align 8, !tbaa !7
  %183 = fadd float %180, %182
  %184 = getelementptr inbounds i8, ptr %2, i64 508
  %185 = load float, ptr %184, align 4, !tbaa !7
  %186 = fadd float %183, %185
  %187 = getelementptr inbounds i8, ptr %2, i64 512
  %188 = load float, ptr %187, align 16, !tbaa !7
  %189 = fadd float %186, %188
  %190 = getelementptr inbounds i8, ptr %2, i64 516
  %191 = load float, ptr %190, align 4, !tbaa !7
  %192 = fadd float %189, %191
  %193 = getelementptr inbounds i8, ptr %2, i64 528
  %194 = load float, ptr %193, align 16, !tbaa !7
  %195 = fadd float %192, %194
  %196 = getelementptr inbounds i8, ptr %2, i64 532
  %197 = load float, ptr %196, align 4, !tbaa !7
  %198 = fadd float %195, %197
  %199 = getelementptr inbounds i8, ptr %2, i64 536
  %200 = load float, ptr %199, align 8, !tbaa !7
  %201 = fadd float %198, %200
  %202 = getelementptr inbounds i8, ptr %2, i64 540
  %203 = load float, ptr %202, align 4, !tbaa !7
  %204 = fadd float %201, %203
  %205 = getelementptr inbounds i8, ptr %2, i64 544
  %206 = load float, ptr %205, align 16, !tbaa !7
  %207 = fadd float %204, %206
  %208 = getelementptr inbounds i8, ptr %2, i64 548
  %209 = load float, ptr %208, align 4, !tbaa !7
  %210 = fadd float %207, %209
  %211 = getelementptr inbounds i8, ptr %2, i64 552
  %212 = load float, ptr %211, align 8, !tbaa !7
  %213 = fadd float %210, %212
  %214 = getelementptr inbounds i8, ptr %2, i64 556
  %215 = load float, ptr %214, align 4, !tbaa !7
  %216 = fadd float %213, %215
  %217 = getelementptr inbounds i8, ptr %2, i64 560
  %218 = load float, ptr %217, align 16, !tbaa !7
  %219 = fadd float %216, %218
  %220 = getelementptr inbounds i8, ptr %2, i64 564
  %221 = load float, ptr %220, align 4, !tbaa !7
  %222 = fadd float %219, %221
  %223 = getelementptr inbounds i8, ptr %2, i64 568
  %224 = load float, ptr %223, align 8, !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 = %._crit_edge.11, %._crit_edge.11
  %228 = fdiv float %225, 6.600000e+01
  br label %.sink.split

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

231:                                              ; preds = %.sink.split, %._crit_edge.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: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass