; LLVM IR from AnneLivia/Competitive-Programming :: Online Judges/URI/1185 (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
  %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 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
  %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 %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %13

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

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

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

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

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

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

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

33:                                               ; preds = %21
  br label %34

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

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

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

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

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 %9, align 4, !tbaa !9
  %46 = icmp sle i32 %44, %45
  br i1 %46, label %48, label %47

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

48:                                               ; preds = %43
  %49 = load float, ptr %4, align 4, !tbaa !5
  %50 = load i32, ptr %10, 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 %11, 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 %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 %9, align 4, !tbaa !9
  %65 = add nsw i32 %64, -1
  store i32 %65, ptr %9, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %63
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %10, align 4, !tbaa !9
  br label %38, !llvm.loop !15

69:                                               ; preds = %41
  %70 = load i8, ptr %2, align 1, !tbaa !16
  %71 = sext i8 %70 to i32
  switch i32 %71, label %82 [
    i32 115, label %72
    i32 83, label %72
    i32 109, label %76
    i32 77, label %76
  ]

72:                                               ; preds = %69, %69
  %73 = load float, ptr %4, align 4, !tbaa !5
  %74 = fpext float %73 to double
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %74)
  br label %82

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

82:                                               ; preds = %76, %72, %69
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #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
  %83 = load i32, ptr %1, align 4
  ret i32 %83
}

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

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

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

226:                                              ; preds = %._crit_edge.10, %._crit_edge.10
  %227 = fdiv float %224, 6.600000e+01
  br label %.sink.split

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

230:                                              ; preds = %.sink.split, %._crit_edge.10
  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