; LLVM IR from reworks-org/galaxy :: deps/sfml_deps/vorbis-src/lib (tone)

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

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %13 = load i32, ptr %4, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 2
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  call void @usage()
  br label %16

16:                                               ; preds = %15, %2
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = sub nsw i32 %17, 1
  %19 = sext i32 %18 to i64
  %20 = mul i64 8, %19
  %21 = alloca i8, i64 %20, align 16
  store ptr %21, ptr %8, align 8, !tbaa !9
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = sub nsw i32 %22, 1
  %24 = sext i32 %23 to i64
  %25 = mul i64 8, %24
  %26 = alloca i8, i64 %25, align 16
  store ptr %26, ptr %9, align 8, !tbaa !9
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %70, %16
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds ptr, ptr %28, i64 %31
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %85

35:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds ptr, ptr %36, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = call ptr @strchr(ptr noundef %41, i32 noundef 44) #7
  store ptr %42, ptr %10, align 8, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds ptr, ptr %43, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = call double @atof(ptr noundef %48) #7
  %50 = load ptr, ptr %8, align 8, !tbaa !9
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds double, ptr %50, i64 %52
  store double %49, ptr %53, align 8, !tbaa !11
  %54 = load ptr, ptr %10, align 8, !tbaa !9
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %65

56:                                               ; preds = %35
  %57 = load ptr, ptr %10, align 8, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %57, i64 1
  %59 = call double @atof(ptr noundef %58) #7
  %60 = fmul double %59, 3.276700e+04
  %61 = load ptr, ptr %9, align 8, !tbaa !9
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds double, ptr %61, i64 %63
  store double %60, ptr %64, align 8, !tbaa !11
  br label %70

65:                                               ; preds = %35
  %66 = load ptr, ptr %9, align 8, !tbaa !9
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds double, ptr %66, i64 %68
  store double 3.276700e+04, ptr %69, align 8, !tbaa !11
  br label %70

70:                                               ; preds = %65, %56
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = load ptr, ptr %8, align 8, !tbaa !9
  %73 = load i32, ptr %6, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds double, ptr %72, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !11
  %77 = load ptr, ptr %9, align 8, !tbaa !9
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds double, ptr %77, i64 %79
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.1, double noundef %76, double noundef %81) #6
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %27, !llvm.loop !13

85:                                               ; preds = %27
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %156, %85
  %87 = load i32, ptr %6, align 4, !tbaa !5
  %88 = icmp slt i32 %87, 441000
  br i1 %88, label %89, label %159

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store float 0.000000e+00, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %118, %89
  %91 = load i32, ptr %7, align 4, !tbaa !5
  %92 = load i32, ptr %4, align 4, !tbaa !5
  %93 = sub nsw i32 %92, 1
  %94 = icmp slt i32 %91, %93
  br i1 %94, label %95, label %121

95:                                               ; preds = %90
  %96 = load ptr, ptr %9, align 8, !tbaa !9
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds double, ptr %96, i64 %98
  %100 = load double, ptr %99, align 8, !tbaa !11
  %101 = load i32, ptr %6, align 4, !tbaa !5
  %102 = sitofp i32 %101 to float
  %103 = fdiv float %102, 4.410000e+04
  %104 = fpext float %103 to double
  %105 = load ptr, ptr %8, align 8, !tbaa !9
  %106 = load i32, ptr %7, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds double, ptr %105, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !11
  %110 = fmul double %104, %109
  %111 = fmul double %110, 2.000000e+00
  %112 = fmul double %111, 0x400921FB54442D18
  %113 = call double @sin(double noundef %112) #6
  %114 = load float, ptr %11, align 4, !tbaa !15
  %115 = fpext float %114 to double
  %116 = call double @llvm.fmuladd.f64(double %100, double %113, double %115)
  %117 = fptrunc double %116 to float
  store float %117, ptr %11, align 4, !tbaa !15
  br label %118

118:                                              ; preds = %95
  %119 = load i32, ptr %7, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %7, align 4, !tbaa !5
  br label %90, !llvm.loop !17

121:                                              ; preds = %90
  %122 = load float, ptr %11, align 4, !tbaa !15
  %123 = fpext float %122 to double
  %124 = call double @llvm.rint.f64(double %123)
  %125 = fptosi double %124 to i32
  store i32 %125, ptr %12, align 4, !tbaa !5
  %126 = load i32, ptr %12, align 4, !tbaa !5
  %127 = sitofp i32 %126 to float
  %128 = fcmp ogt float %127, 3.276700e+04
  br i1 %128, label %129, label %130

129:                                              ; preds = %121
  store i32 32767, ptr %12, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %129, %121
  %131 = load i32, ptr %12, align 4, !tbaa !5
  %132 = sitofp i32 %131 to float
  %133 = fcmp olt float %132, -3.276800e+04
  br i1 %133, label %134, label %135

134:                                              ; preds = %130
  store i32 -32768, ptr %12, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %134, %130
  %136 = load ptr, ptr @stdout, align 8, !tbaa !9
  %137 = load i32, ptr %12, align 4, !tbaa !5
  %138 = and i32 %137, 255
  %139 = trunc i32 %138 to i8
  %140 = sext i8 %139 to i32
  %141 = load i32, ptr %12, align 4, !tbaa !5
  %142 = ashr i32 %141, 8
  %143 = and i32 %142, 255
  %144 = trunc i32 %143 to i8
  %145 = sext i8 %144 to i32
  %146 = load i32, ptr %12, align 4, !tbaa !5
  %147 = and i32 %146, 255
  %148 = trunc i32 %147 to i8
  %149 = sext i8 %148 to i32
  %150 = load i32, ptr %12, align 4, !tbaa !5
  %151 = ashr i32 %150, 8
  %152 = and i32 %151, 255
  %153 = trunc i32 %152 to i8
  %154 = sext i8 %153 to i32
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.2, i32 noundef %140, i32 noundef %145, i32 noundef %149, i32 noundef %154) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %156

156:                                              ; preds = %135
  %157 = load i32, ptr %6, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %6, align 4, !tbaa !5
  br label %86, !llvm.loop !18

159:                                              ; preds = %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  ret i32 0
}

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strchr(ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

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

; Function Attrs: nounwind
declare double @sin(double noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.rint.f64(double) #5

attributes #0 = { nounwind 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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 = { inlinehint nounwind willreturn memory(read) 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = icmp slt i32 %0, 2
  br i1 %3, label %4, label %5

4:                                                ; preds = %2
  tail call void @usage()
  br label %5

5:                                                ; preds = %4, %2
  %6 = add i32 %0, -1
  %7 = sext i32 %6 to i64
  %8 = shl nsw i64 %7, 3
  %9 = alloca i8, i64 %8, align 16
  %10 = alloca i8, i64 %8, align 16
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %.not48 = icmp eq ptr %12, null
  br i1 %.not48, label %.preheader47, label %.lr.ph

.preheader47:                                     ; preds = %66, %5
  %13 = icmp sgt i32 %0, 1
  br i1 %13, label %.preheader.us.preheader, label %.preheader

.preheader.us.preheader:                          ; preds = %.preheader47
  %wide.trip.count = zext i32 %6 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %14 = icmp eq i32 %6, 1
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %.14153.us = phi i32 [ %57, %._crit_edge.us ], [ 0, %.preheader.us.preheader ]
  %15 = uitofp nneg i32 %.14153.us to float
  %16 = fdiv float %15, 4.410000e+04
  %17 = fpext float %16 to double
  br i1 %14, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %indvars.iv60 = phi i64 [ %indvars.iv.next61.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %.03951.us = phi float [ %39, %.preheader.us.new ], [ 0.000000e+00, %.preheader.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %18 = getelementptr inbounds double, ptr %10, i64 %indvars.iv60
  %19 = load double, ptr %18, align 16, !tbaa !9
  %20 = getelementptr inbounds double, ptr %9, i64 %indvars.iv60
  %21 = load double, ptr %20, align 16, !tbaa !9
  %22 = fmul double %21, %17
  %23 = fmul double %22, 2.000000e+00
  %24 = fmul double %23, 0x400921FB54442D18
  %25 = tail call double @sin(double noundef %24) #7
  %26 = fpext float %.03951.us to double
  %27 = tail call double @llvm.fmuladd.f64(double %19, double %25, double %26)
  %28 = fptrunc double %27 to float
  %indvars.iv.next61 = or disjoint i64 %indvars.iv60, 1
  %29 = getelementptr inbounds double, ptr %10, i64 %indvars.iv.next61
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next61
  %32 = load double, ptr %31, align 8, !tbaa !9
  %33 = fmul double %32, %17
  %34 = fmul double %33, 2.000000e+00
  %35 = fmul double %34, 0x400921FB54442D18
  %36 = tail call double @sin(double noundef %35) #7
  %37 = fpext float %28 to double
  %38 = tail call double @llvm.fmuladd.f64(double %30, double %36, double %37)
  %39 = fptrunc double %38 to float
  %indvars.iv.next61.1 = add nuw nsw i64 %indvars.iv60, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !11

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader.us.new, %.preheader.us
  %.lcssa.ph = phi float [ poison, %.preheader.us ], [ %39, %.preheader.us.new ]
  %indvars.iv60.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next61.1, %.preheader.us.new ]
  %.03951.us.unr = phi float [ 0.000000e+00, %.preheader.us ], [ %39, %.preheader.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %40 = getelementptr inbounds double, ptr %10, i64 %indvars.iv60.unr
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds double, ptr %9, i64 %indvars.iv60.unr
  %43 = load double, ptr %42, align 8, !tbaa !9
  %44 = fmul double %43, %17
  %45 = fmul double %44, 2.000000e+00
  %46 = fmul double %45, 0x400921FB54442D18
  %47 = tail call double @sin(double noundef %46) #7
  %48 = fpext float %.03951.us.unr to double
  %49 = tail call double @llvm.fmuladd.f64(double %41, double %47, double %48)
  %50 = fptrunc double %49 to float
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %.lcssa = phi float [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %50, %._crit_edge.us.epilog-lcssa ]
  %51 = tail call float @llvm.rint.f32(float %.lcssa)
  %52 = fptosi float %51 to i32
  %spec.select.us = tail call i32 @llvm.smin.i32(i32 %52, i32 32767)
  %.1.us = tail call i32 @llvm.smax.i32(i32 %spec.select.us, i32 -32768)
  %53 = load ptr, ptr @stdout, align 8, !tbaa !5
  %sext.us = shl i32 %.1.us, 24
  %54 = ashr exact i32 %sext.us, 24
  %55 = ashr i32 %.1.us, 8
  %56 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef nonnull @.str.2, i32 noundef %54, i32 noundef %55, i32 noundef %54, i32 noundef %55) #7
  %57 = add nuw nsw i32 %.14153.us, 1
  %exitcond64.not = icmp eq i32 %57, 441000
  br i1 %exitcond64.not, label %.split.us, label %.preheader.us, !llvm.loop !13

.lr.ph:                                           ; preds = %5, %66
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %66 ], [ 0, %5 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %66 ], [ 1, %5 ]
  %58 = phi ptr [ %71, %66 ], [ %12, %5 ]
  %59 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %58, i32 noundef 44) #8
  %60 = tail call double @atof(ptr noundef %58) #8
  %61 = getelementptr inbounds double, ptr %9, i64 %indvars.iv55
  store double %60, ptr %61, align 8, !tbaa !9
  %.not46 = icmp eq ptr %59, null
  br i1 %.not46, label %66, label %62

62:                                               ; preds = %.lr.ph
  %63 = getelementptr inbounds i8, ptr %59, i64 1
  %64 = tail call double @atof(ptr noundef %63) #8
  %65 = fmul double %64, 3.276700e+04
  br label %66

66:                                               ; preds = %.lr.ph, %62
  %.sink = phi double [ %65, %62 ], [ 3.276700e+04, %.lr.ph ]
  %67 = getelementptr inbounds double, ptr %10, i64 %indvars.iv55
  store double %.sink, ptr %67, align 8
  %68 = load ptr, ptr @stderr, align 8, !tbaa !5
  %69 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef nonnull @.str.1, double noundef %60, double noundef %.sink) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %70 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv.next
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %.not = icmp eq ptr %71, null
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  br i1 %.not, label %.preheader47, label %.lr.ph, !llvm.loop !14

.preheader:                                       ; preds = %.preheader47, %.preheader
  %.14153 = phi i32 [ %74, %.preheader ], [ 0, %.preheader47 ]
  %72 = load ptr, ptr @stdout, align 8, !tbaa !5
  %73 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef nonnull @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #7
  %74 = add nuw nsw i32 %.14153, 1
  %exitcond.not = icmp eq i32 %74, 441000
  br i1 %exitcond.not, label %.split.us, label %.preheader, !llvm.loop !13

.split.us:                                        ; preds = %.preheader, %._crit_edge.us
  ret i32 0
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.rint.f32(float) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #6

attributes #0 = { nounwind 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 = { 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 #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 = { mustprogress nofree nounwind willreturn memory(write) "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { cold 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass