; LLVM IR from imteekay/algorithms :: competitive-programming/interfatecs/1_2018 (h)

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

@A = external dso_local global i32, align 4
@R = external dso_local global double, align 8
@saldo = external dso_local global [32 x double], align 16
@resgate = external dso_local global [32 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %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
  %11 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %23, %0
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = icmp sle i32 %13, 31
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %26

16:                                               ; preds = %12
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %18
  store double 0.000000e+00, ptr %19, align 8, !tbaa !9
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %21
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  br label %23

23:                                               ; preds = %16
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %2, align 4, !tbaa !5
  br label %12, !llvm.loop !11

26:                                               ; preds = %15
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @A)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(8) @R)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  br label %29

29:                                               ; preds = %36, %26
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = getelementptr i8, ptr %31, i64 -24
  %33 = load i64, ptr %32, align 8
  %34 = getelementptr inbounds i8, ptr %30, i64 %33
  %35 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %34)
  br i1 %35, label %36, label %41

36:                                               ; preds = %29
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %38
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %39)
  br label %29, !llvm.loop !15

41:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %42 = load double, ptr @R, align 8, !tbaa !9
  store double %42, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %54, %41
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = icmp sle i32 %44, 31
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %57

47:                                               ; preds = %43
  %48 = load i32, ptr %6, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %49
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = load double, ptr %5, align 8, !tbaa !9
  %53 = fadd double %52, %51
  store double %53, ptr %5, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %47
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %6, align 4, !tbaa !5
  br label %43, !llvm.loop !16

57:                                               ; preds = %46
  %58 = load double, ptr %5, align 8, !tbaa !9
  %59 = load double, ptr @R, align 8, !tbaa !9
  %60 = fcmp olt double %58, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %177

63:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %64 = load i32, ptr @A, align 4, !tbaa !5
  store i32 %64, ptr %8, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %101, %63
  %66 = load double, ptr %4, align 8, !tbaa !9
  %67 = fcmp oge double %66, 0.000000e+00
  br i1 %67, label %68, label %71

68:                                               ; preds = %65
  %69 = load i32, ptr %8, align 4, !tbaa !5
  %70 = icmp sge i32 %69, 1
  br label %71

71:                                               ; preds = %68, %65
  %72 = phi i1 [ false, %65 ], [ %70, %68 ]
  br i1 %72, label %74, label %73

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

74:                                               ; preds = %71
  %75 = load i32, ptr %8, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !9
  %79 = load double, ptr %4, align 8, !tbaa !9
  %80 = fcmp ole double %78, %79
  br i1 %80, label %81, label %95

81:                                               ; preds = %74
  %82 = load i32, ptr %8, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !9
  %86 = load i32, ptr %8, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %87
  store double %85, ptr %88, align 8, !tbaa !9
  %89 = load i32, ptr %8, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %90
  %92 = load double, ptr %91, align 8, !tbaa !9
  %93 = load double, ptr %4, align 8, !tbaa !9
  %94 = fsub double %93, %92
  store double %94, ptr %4, align 8, !tbaa !9
  br label %100

95:                                               ; preds = %74
  %96 = load double, ptr %4, align 8, !tbaa !9
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %98
  store double %96, ptr %99, align 8, !tbaa !9
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %95, %81
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %8, align 4, !tbaa !5
  %103 = add nsw i32 %102, -1
  store i32 %103, ptr %8, align 4, !tbaa !5
  br label %65, !llvm.loop !17

104:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 31, ptr %9, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %142, %104
  %106 = load double, ptr %4, align 8, !tbaa !9
  %107 = fcmp oge double %106, 0.000000e+00
  br i1 %107, label %108, label %112

108:                                              ; preds = %105
  %109 = load i32, ptr %9, align 4, !tbaa !5
  %110 = load i32, ptr @A, align 4, !tbaa !5
  %111 = icmp sgt i32 %109, %110
  br label %112

112:                                              ; preds = %108, %105
  %113 = phi i1 [ false, %105 ], [ %111, %108 ]
  br i1 %113, label %115, label %114

114:                                              ; preds = %112
  store i32 13, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %145

115:                                              ; preds = %112
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %117
  %119 = load double, ptr %118, align 8, !tbaa !9
  %120 = load double, ptr %4, align 8, !tbaa !9
  %121 = fcmp ole double %119, %120
  br i1 %121, label %122, label %136

122:                                              ; preds = %115
  %123 = load i32, ptr %9, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %124
  %126 = load double, ptr %125, align 8, !tbaa !9
  %127 = load i32, ptr %9, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %128
  store double %126, ptr %129, align 8, !tbaa !9
  %130 = load i32, ptr %9, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = load double, ptr %4, align 8, !tbaa !9
  %135 = fsub double %134, %133
  store double %135, ptr %4, align 8, !tbaa !9
  br label %141

136:                                              ; preds = %115
  %137 = load double, ptr %4, align 8, !tbaa !9
  %138 = load i32, ptr %9, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %139
  store double %137, ptr %140, align 8, !tbaa !9
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %136, %122
  br label %142

142:                                              ; preds = %141
  %143 = load i32, ptr %9, align 4, !tbaa !5
  %144 = add nsw i32 %143, -1
  store i32 %144, ptr %9, align 4, !tbaa !5
  br label %105, !llvm.loop !18

145:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %146

146:                                              ; preds = %173, %145
  %147 = load i32, ptr %10, align 4, !tbaa !5
  %148 = icmp sle i32 %147, 31
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  store i32 16, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %176

150:                                              ; preds = %146
  %151 = load i32, ptr %10, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %152
  %154 = load double, ptr %153, align 8, !tbaa !9
  %155 = fcmp ogt double %154, 0.000000e+00
  br i1 %155, label %156, label %172

156:                                              ; preds = %150
  %157 = load i32, ptr %10, align 4, !tbaa !5
  %158 = load i32, ptr %10, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %159
  %161 = load double, ptr %160, align 8, !tbaa !9
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !9
  %166 = fsub double %161, %165
  %167 = load i32, ptr %10, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %168
  %170 = load double, ptr %169, align 8, !tbaa !9
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %157, double noundef %166, double noundef %170)
  br label %172

172:                                              ; preds = %156, %150
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %10, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %10, align 4, !tbaa !5
  br label %146, !llvm.loop !19

176:                                              ; preds = %149
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %177

177:                                              ; preds = %176, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  %178 = load i32, ptr %1, align 4
  ret i32 %178
}

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

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

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

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

; 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: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #3 align 2

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


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

@A = external dso_local global i32, align 4
@R = external dso_local global double, align 8
@saldo = external dso_local global [32 x double], align 16
@resgate = external dso_local local_unnamed_addr global [32 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(248) getelementptr inbounds (i8, ptr @saldo, i64 8), i8 0, i64 248, i1 false), !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(248) getelementptr inbounds (i8, ptr @resgate, i64 8), i8 0, i64 248, i1 false), !tbaa !5
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @A)
  %4 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) @R)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr i8, ptr %6, i64 -24
  %8 = load i64, ptr %7, align 8
  %9 = getelementptr inbounds i8, ptr %5, i64 %8
  %10 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %9)
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %11 = load i32, ptr %1, align 4, !tbaa !11
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %12
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr %15, i64 %18
  %20 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %19)
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %0
  %21 = load double, ptr @R, align 8, !tbaa !5
  %22 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 8), align 8, !tbaa !5
  %23 = fadd double %22, 0.000000e+00
  %24 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 16), align 16, !tbaa !5
  %25 = fadd double %23, %24
  %26 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 24), align 8, !tbaa !5
  %27 = fadd double %25, %26
  %28 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 32), align 16, !tbaa !5
  %29 = fadd double %27, %28
  %30 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 40), align 8, !tbaa !5
  %31 = fadd double %29, %30
  %32 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 48), align 16, !tbaa !5
  %33 = fadd double %31, %32
  %34 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 56), align 8, !tbaa !5
  %35 = fadd double %33, %34
  %36 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 64), align 16, !tbaa !5
  %37 = fadd double %35, %36
  %38 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 72), align 8, !tbaa !5
  %39 = fadd double %37, %38
  %40 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 80), align 16, !tbaa !5
  %41 = fadd double %39, %40
  %42 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 88), align 8, !tbaa !5
  %43 = fadd double %41, %42
  %44 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 96), align 16, !tbaa !5
  %45 = fadd double %43, %44
  %46 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 104), align 8, !tbaa !5
  %47 = fadd double %45, %46
  %48 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 112), align 16, !tbaa !5
  %49 = fadd double %47, %48
  %50 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 120), align 8, !tbaa !5
  %51 = fadd double %49, %50
  %52 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 128), align 16, !tbaa !5
  %53 = fadd double %51, %52
  %54 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 136), align 8, !tbaa !5
  %55 = fadd double %53, %54
  %56 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 144), align 16, !tbaa !5
  %57 = fadd double %55, %56
  %58 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 152), align 8, !tbaa !5
  %59 = fadd double %57, %58
  %60 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 160), align 16, !tbaa !5
  %61 = fadd double %59, %60
  %62 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 168), align 8, !tbaa !5
  %63 = fadd double %61, %62
  %64 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 176), align 16, !tbaa !5
  %65 = fadd double %63, %64
  %66 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 184), align 8, !tbaa !5
  %67 = fadd double %65, %66
  %68 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 192), align 16, !tbaa !5
  %69 = fadd double %67, %68
  %70 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 200), align 8, !tbaa !5
  %71 = fadd double %69, %70
  %72 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 208), align 16, !tbaa !5
  %73 = fadd double %71, %72
  %74 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 216), align 8, !tbaa !5
  %75 = fadd double %73, %74
  %76 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 224), align 16, !tbaa !5
  %77 = fadd double %75, %76
  %78 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 232), align 8, !tbaa !5
  %79 = fadd double %77, %78
  %80 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 240), align 16, !tbaa !5
  %81 = fadd double %79, %80
  %82 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 248), align 8, !tbaa !5
  %83 = fadd double %81, %82
  %84 = fcmp olt double %83, %21
  br i1 %84, label %85, label %87

85:                                               ; preds = %._crit_edge
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %.loopexit

87:                                               ; preds = %._crit_edge
  %88 = load i32, ptr @A, align 4
  %89 = fcmp oge double %21, 0.000000e+00
  %90 = icmp sgt i32 %88, 0
  %91 = select i1 %89, i1 %90, i1 false
  br i1 %91, label %.lr.ph55.preheader, label %.preheader48

.lr.ph55.preheader:                               ; preds = %87
  %92 = zext nneg i32 %88 to i64
  br label %.lr.ph55

.preheader48:                                     ; preds = %.lr.ph55, %87
  %.042.lcssa = phi double [ %21, %87 ], [ %.1, %.lr.ph55 ]
  %93 = fcmp oge double %.042.lcssa, 0.000000e+00
  %94 = icmp slt i32 %88, 31
  %95 = select i1 %93, i1 %94, i1 false
  br i1 %95, label %.lr.ph58.preheader, label %.preheader

.lr.ph58.preheader:                               ; preds = %.preheader48
  %96 = sext i32 %88 to i64
  br label %.lr.ph58

.lr.ph55:                                         ; preds = %.lr.ph55.preheader, %.lr.ph55
  %indvars.iv = phi i64 [ %92, %.lr.ph55.preheader ], [ %indvars.iv.next, %.lr.ph55 ]
  %.04252 = phi double [ %21, %.lr.ph55.preheader ], [ %.1, %.lr.ph55 ]
  %97 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %indvars.iv
  %98 = load double, ptr %97, align 8, !tbaa !5
  %99 = fcmp ugt double %98, %.04252
  %100 = fsub double %.04252, %98
  %.sink = select i1 %99, double %.04252, double %98
  %.1 = select i1 %99, double 0.000000e+00, double %100
  %101 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %indvars.iv
  store double %.sink, ptr %101, align 8
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %102 = fcmp oge double %.1, 0.000000e+00
  %103 = icmp sgt i64 %indvars.iv, 1
  %104 = and i1 %102, %103
  br i1 %104, label %.lr.ph55, label %.preheader48, !llvm.loop !15

.preheader:                                       ; preds = %.lr.ph58, %.preheader48
  %105 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 8), align 8, !tbaa !5
  %106 = fcmp ogt double %105, 0.000000e+00
  br i1 %106, label %115, label %118

.lr.ph58:                                         ; preds = %.lr.ph58.preheader, %.lr.ph58
  %indvars.iv63 = phi i64 [ 31, %.lr.ph58.preheader ], [ %indvars.iv.next64, %.lr.ph58 ]
  %.256 = phi double [ %.042.lcssa, %.lr.ph58.preheader ], [ %.3, %.lr.ph58 ]
  %107 = getelementptr inbounds [32 x double], ptr @saldo, i64 0, i64 %indvars.iv63
  %108 = load double, ptr %107, align 8, !tbaa !5
  %109 = fcmp ugt double %108, %.256
  %110 = fsub double %.256, %108
  %.sink69 = select i1 %109, double %.256, double %108
  %.3 = select i1 %109, double 0.000000e+00, double %110
  %111 = getelementptr inbounds [32 x double], ptr @resgate, i64 0, i64 %indvars.iv63
  store double %.sink69, ptr %111, align 8
  %indvars.iv.next64 = add nsw i64 %indvars.iv63, -1
  %112 = fcmp oge double %.3, 0.000000e+00
  %113 = icmp sgt i64 %indvars.iv.next64, %96
  %114 = select i1 %112, i1 %113, i1 false
  br i1 %114, label %.lr.ph58, label %.preheader, !llvm.loop !16

115:                                              ; preds = %.preheader
  %116 = fsub double %22, %105
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 1, double noundef %116, double noundef %105)
  br label %118

118:                                              ; preds = %.preheader, %115
  %119 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 16), align 16, !tbaa !5
  %120 = fcmp ogt double %119, 0.000000e+00
  br i1 %120, label %121, label %125

121:                                              ; preds = %118
  %122 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 16), align 16, !tbaa !5
  %123 = fsub double %122, %119
  %124 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 2, double noundef %123, double noundef %119)
  br label %125

125:                                              ; preds = %121, %118
  %126 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 24), align 8, !tbaa !5
  %127 = fcmp ogt double %126, 0.000000e+00
  br i1 %127, label %128, label %132

128:                                              ; preds = %125
  %129 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 24), align 8, !tbaa !5
  %130 = fsub double %129, %126
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 3, double noundef %130, double noundef %126)
  br label %132

132:                                              ; preds = %128, %125
  %133 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 32), align 16, !tbaa !5
  %134 = fcmp ogt double %133, 0.000000e+00
  br i1 %134, label %135, label %139

135:                                              ; preds = %132
  %136 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 32), align 16, !tbaa !5
  %137 = fsub double %136, %133
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 4, double noundef %137, double noundef %133)
  br label %139

139:                                              ; preds = %135, %132
  %140 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 40), align 8, !tbaa !5
  %141 = fcmp ogt double %140, 0.000000e+00
  br i1 %141, label %142, label %146

142:                                              ; preds = %139
  %143 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 40), align 8, !tbaa !5
  %144 = fsub double %143, %140
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 5, double noundef %144, double noundef %140)
  br label %146

146:                                              ; preds = %142, %139
  %147 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 48), align 16, !tbaa !5
  %148 = fcmp ogt double %147, 0.000000e+00
  br i1 %148, label %149, label %153

149:                                              ; preds = %146
  %150 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 48), align 16, !tbaa !5
  %151 = fsub double %150, %147
  %152 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 6, double noundef %151, double noundef %147)
  br label %153

153:                                              ; preds = %149, %146
  %154 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 56), align 8, !tbaa !5
  %155 = fcmp ogt double %154, 0.000000e+00
  br i1 %155, label %156, label %160

156:                                              ; preds = %153
  %157 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 56), align 8, !tbaa !5
  %158 = fsub double %157, %154
  %159 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 7, double noundef %158, double noundef %154)
  br label %160

160:                                              ; preds = %156, %153
  %161 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 64), align 16, !tbaa !5
  %162 = fcmp ogt double %161, 0.000000e+00
  br i1 %162, label %163, label %167

163:                                              ; preds = %160
  %164 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 64), align 16, !tbaa !5
  %165 = fsub double %164, %161
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 8, double noundef %165, double noundef %161)
  br label %167

167:                                              ; preds = %163, %160
  %168 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 72), align 8, !tbaa !5
  %169 = fcmp ogt double %168, 0.000000e+00
  br i1 %169, label %170, label %174

170:                                              ; preds = %167
  %171 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 72), align 8, !tbaa !5
  %172 = fsub double %171, %168
  %173 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 9, double noundef %172, double noundef %168)
  br label %174

174:                                              ; preds = %170, %167
  %175 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 80), align 16, !tbaa !5
  %176 = fcmp ogt double %175, 0.000000e+00
  br i1 %176, label %177, label %181

177:                                              ; preds = %174
  %178 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 80), align 16, !tbaa !5
  %179 = fsub double %178, %175
  %180 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 10, double noundef %179, double noundef %175)
  br label %181

181:                                              ; preds = %177, %174
  %182 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 88), align 8, !tbaa !5
  %183 = fcmp ogt double %182, 0.000000e+00
  br i1 %183, label %184, label %188

184:                                              ; preds = %181
  %185 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 88), align 8, !tbaa !5
  %186 = fsub double %185, %182
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 11, double noundef %186, double noundef %182)
  br label %188

188:                                              ; preds = %184, %181
  %189 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 96), align 16, !tbaa !5
  %190 = fcmp ogt double %189, 0.000000e+00
  br i1 %190, label %191, label %195

191:                                              ; preds = %188
  %192 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 96), align 16, !tbaa !5
  %193 = fsub double %192, %189
  %194 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 12, double noundef %193, double noundef %189)
  br label %195

195:                                              ; preds = %191, %188
  %196 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 104), align 8, !tbaa !5
  %197 = fcmp ogt double %196, 0.000000e+00
  br i1 %197, label %198, label %202

198:                                              ; preds = %195
  %199 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 104), align 8, !tbaa !5
  %200 = fsub double %199, %196
  %201 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 13, double noundef %200, double noundef %196)
  br label %202

202:                                              ; preds = %198, %195
  %203 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 112), align 16, !tbaa !5
  %204 = fcmp ogt double %203, 0.000000e+00
  br i1 %204, label %205, label %209

205:                                              ; preds = %202
  %206 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 112), align 16, !tbaa !5
  %207 = fsub double %206, %203
  %208 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 14, double noundef %207, double noundef %203)
  br label %209

209:                                              ; preds = %205, %202
  %210 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 120), align 8, !tbaa !5
  %211 = fcmp ogt double %210, 0.000000e+00
  br i1 %211, label %212, label %216

212:                                              ; preds = %209
  %213 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 120), align 8, !tbaa !5
  %214 = fsub double %213, %210
  %215 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 15, double noundef %214, double noundef %210)
  br label %216

216:                                              ; preds = %212, %209
  %217 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 128), align 16, !tbaa !5
  %218 = fcmp ogt double %217, 0.000000e+00
  br i1 %218, label %219, label %223

219:                                              ; preds = %216
  %220 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 128), align 16, !tbaa !5
  %221 = fsub double %220, %217
  %222 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 16, double noundef %221, double noundef %217)
  br label %223

223:                                              ; preds = %219, %216
  %224 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 136), align 8, !tbaa !5
  %225 = fcmp ogt double %224, 0.000000e+00
  br i1 %225, label %226, label %230

226:                                              ; preds = %223
  %227 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 136), align 8, !tbaa !5
  %228 = fsub double %227, %224
  %229 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 17, double noundef %228, double noundef %224)
  br label %230

230:                                              ; preds = %226, %223
  %231 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 144), align 16, !tbaa !5
  %232 = fcmp ogt double %231, 0.000000e+00
  br i1 %232, label %233, label %237

233:                                              ; preds = %230
  %234 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 144), align 16, !tbaa !5
  %235 = fsub double %234, %231
  %236 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 18, double noundef %235, double noundef %231)
  br label %237

237:                                              ; preds = %233, %230
  %238 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 152), align 8, !tbaa !5
  %239 = fcmp ogt double %238, 0.000000e+00
  br i1 %239, label %240, label %244

240:                                              ; preds = %237
  %241 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 152), align 8, !tbaa !5
  %242 = fsub double %241, %238
  %243 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 19, double noundef %242, double noundef %238)
  br label %244

244:                                              ; preds = %240, %237
  %245 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 160), align 16, !tbaa !5
  %246 = fcmp ogt double %245, 0.000000e+00
  br i1 %246, label %247, label %251

247:                                              ; preds = %244
  %248 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 160), align 16, !tbaa !5
  %249 = fsub double %248, %245
  %250 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 20, double noundef %249, double noundef %245)
  br label %251

251:                                              ; preds = %247, %244
  %252 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 168), align 8, !tbaa !5
  %253 = fcmp ogt double %252, 0.000000e+00
  br i1 %253, label %254, label %258

254:                                              ; preds = %251
  %255 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 168), align 8, !tbaa !5
  %256 = fsub double %255, %252
  %257 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 21, double noundef %256, double noundef %252)
  br label %258

258:                                              ; preds = %254, %251
  %259 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 176), align 16, !tbaa !5
  %260 = fcmp ogt double %259, 0.000000e+00
  br i1 %260, label %261, label %265

261:                                              ; preds = %258
  %262 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 176), align 16, !tbaa !5
  %263 = fsub double %262, %259
  %264 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 22, double noundef %263, double noundef %259)
  br label %265

265:                                              ; preds = %261, %258
  %266 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 184), align 8, !tbaa !5
  %267 = fcmp ogt double %266, 0.000000e+00
  br i1 %267, label %268, label %272

268:                                              ; preds = %265
  %269 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 184), align 8, !tbaa !5
  %270 = fsub double %269, %266
  %271 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 23, double noundef %270, double noundef %266)
  br label %272

272:                                              ; preds = %268, %265
  %273 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 192), align 16, !tbaa !5
  %274 = fcmp ogt double %273, 0.000000e+00
  br i1 %274, label %275, label %279

275:                                              ; preds = %272
  %276 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 192), align 16, !tbaa !5
  %277 = fsub double %276, %273
  %278 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 24, double noundef %277, double noundef %273)
  br label %279

279:                                              ; preds = %275, %272
  %280 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 200), align 8, !tbaa !5
  %281 = fcmp ogt double %280, 0.000000e+00
  br i1 %281, label %282, label %286

282:                                              ; preds = %279
  %283 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 200), align 8, !tbaa !5
  %284 = fsub double %283, %280
  %285 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 25, double noundef %284, double noundef %280)
  br label %286

286:                                              ; preds = %282, %279
  %287 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 208), align 16, !tbaa !5
  %288 = fcmp ogt double %287, 0.000000e+00
  br i1 %288, label %289, label %293

289:                                              ; preds = %286
  %290 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 208), align 16, !tbaa !5
  %291 = fsub double %290, %287
  %292 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 26, double noundef %291, double noundef %287)
  br label %293

293:                                              ; preds = %289, %286
  %294 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 216), align 8, !tbaa !5
  %295 = fcmp ogt double %294, 0.000000e+00
  br i1 %295, label %296, label %300

296:                                              ; preds = %293
  %297 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 216), align 8, !tbaa !5
  %298 = fsub double %297, %294
  %299 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 27, double noundef %298, double noundef %294)
  br label %300

300:                                              ; preds = %296, %293
  %301 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 224), align 16, !tbaa !5
  %302 = fcmp ogt double %301, 0.000000e+00
  br i1 %302, label %303, label %307

303:                                              ; preds = %300
  %304 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 224), align 16, !tbaa !5
  %305 = fsub double %304, %301
  %306 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 28, double noundef %305, double noundef %301)
  br label %307

307:                                              ; preds = %303, %300
  %308 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 232), align 8, !tbaa !5
  %309 = fcmp ogt double %308, 0.000000e+00
  br i1 %309, label %310, label %314

310:                                              ; preds = %307
  %311 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 232), align 8, !tbaa !5
  %312 = fsub double %311, %308
  %313 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 29, double noundef %312, double noundef %308)
  br label %314

314:                                              ; preds = %310, %307
  %315 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 240), align 16, !tbaa !5
  %316 = fcmp ogt double %315, 0.000000e+00
  br i1 %316, label %317, label %321

317:                                              ; preds = %314
  %318 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 240), align 16, !tbaa !5
  %319 = fsub double %318, %315
  %320 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 30, double noundef %319, double noundef %315)
  br label %321

321:                                              ; preds = %317, %314
  %322 = load double, ptr getelementptr inbounds (i8, ptr @resgate, i64 248), align 8, !tbaa !5
  %323 = fcmp ogt double %322, 0.000000e+00
  br i1 %323, label %324, label %.loopexit

324:                                              ; preds = %321
  %325 = load double, ptr getelementptr inbounds (i8, ptr @saldo, i64 248), align 8, !tbaa !5
  %326 = fsub double %325, %322
  %327 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 31, double noundef %326, double noundef %322)
  br label %.loopexit

.loopexit:                                        ; preds = %321, %324, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

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

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

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

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

; 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 uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #3 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,SROAPass,SimplifyCFGPass,TailCallElimPass