; LLVM IR from kobalicek/simdtests :: 3rdparty/real.ll (ZNK3lol4real5printEi)

; 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.lol::real" = type { [16 x i32], i32 }

@_ZN3lol4real4R_10E = external dso_local global %"class.lol::real", align 4
@_ZN3lol4real3R_1E = external dso_local global %"class.lol::real", align 4
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol3powERKNS_4realES2_(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3lol4realngEv(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3lol4realltERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmIERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realdVERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3lol4realntEv(ptr noundef nonnull align 4 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol5log10ERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol5floorERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol4ceilERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3lol4real5printEi(ptr noundef nonnull align 4 dereferenceable(68) %0, i32 noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.lol::real", align 4
  %6 = alloca %"class.lol::real", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.lol::real", align 4
  %10 = alloca %"class.lol::real", align 4
  %11 = alloca %"class.lol::real", align 4
  %12 = alloca %"class.lol::real", align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.lol::real", align 4
  %16 = alloca %"class.lol::real", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %17 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 68, ptr %5) #4
  call void @_ZN3lol4realC1ERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %17)
  %18 = getelementptr inbounds %"class.lol::real", ptr %5, i32 0, i32 1
  %19 = load i32, ptr %18, align 4, !tbaa !11
  %20 = lshr i32 %19, 31
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %25

22:                                               ; preds = %2
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 68, ptr %6) #4
  call void @_ZNK3lol4realngEv(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %5)
  %24 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %6)
  call void @llvm.lifetime.end.p0(i64 68, ptr %6) #4
  br label %25

25:                                               ; preds = %22, %2
  %26 = call noundef zeroext i1 @_ZNK3lol4realntEv(ptr noundef nonnull align 4 dereferenceable(68) %5)
  br i1 %26, label %27, label %29

27:                                               ; preds = %25
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i32 1, ptr %7, align 4
  br label %75

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr %10) #4
  call void @_ZN3lol5log10ERKNS_4realE(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %10, ptr noundef nonnull align 4 dereferenceable(68) %5)
  call void @_ZN3lol4ceilERKNS_4realE(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %9, ptr noundef nonnull align 4 dereferenceable(68) %10)
  %30 = call noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68) %9)
  call void @llvm.lifetime.end.p0(i64 68, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 68, ptr %9) #4
  store i32 %30, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 68, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr %12) #4
  %31 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %12, i32 noundef %31)
  call void @_ZN3lol3powERKNS_4realES2_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %11, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E, ptr noundef nonnull align 4 dereferenceable(68) %12)
  %32 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realdVERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %11)
  call void @llvm.lifetime.end.p0(i64 68, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 68, ptr %11) #4
  %33 = call noundef zeroext i1 @_ZNK3lol4realltERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_1E)
  br i1 %33, label %34, label %38

34:                                               ; preds = %29
  %35 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E)
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = add nsw i32 %36, -1
  store i32 %37, ptr %8, align 4, !tbaa !9
  br label %38

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

39:                                               ; preds = %56, %38
  %40 = load i32, ptr %13, align 4, !tbaa !9
  %41 = load i32, ptr %4, align 4, !tbaa !9
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %44, label %43

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

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr %15) #4
  call void @_ZN3lol5floorERKNS_4realE(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %15, ptr noundef nonnull align 4 dereferenceable(68) %5)
  %45 = call noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68) %15)
  call void @llvm.lifetime.end.p0(i64 68, ptr %15) #4
  store i32 %45, ptr %14, align 4, !tbaa !9
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %46)
  %48 = load i32, ptr %13, align 4, !tbaa !9
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %52

50:                                               ; preds = %44
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %52

52:                                               ; preds = %50, %44
  call void @llvm.lifetime.start.p0(i64 68, ptr %16) #4
  %53 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %16, i32 noundef %53)
  %54 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmIERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %16)
  call void @llvm.lifetime.end.p0(i64 68, ptr %16) #4
  %55 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %56

56:                                               ; preds = %52
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %13, align 4, !tbaa !9
  br label %39, !llvm.loop !13

59:                                               ; preds = %43
  %60 = load i32, ptr %8, align 4, !tbaa !9
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %62, label %66

62:                                               ; preds = %59
  %63 = load i32, ptr %8, align 4, !tbaa !9
  %64 = sub nsw i32 0, %63
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %64)
  br label %73

66:                                               ; preds = %59
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %69, label %72

69:                                               ; preds = %66
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %70)
  br label %72

72:                                               ; preds = %69, %66
  br label %73

73:                                               ; preds = %72, %62
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  store i32 0, ptr %7, align 4
  br label %75

75:                                               ; preds = %73, %27
  call void @llvm.lifetime.end.p0(i64 68, ptr %5) #4
  %76 = load i32, ptr %7, align 4
  switch i32 %76, label %78 [
    i32 0, label %77
    i32 1, label %77
  ]

77:                                               ; preds = %75, %75
  ret void

78:                                               ; preds = %75
  unreachable
}

declare void @_ZN3lol4realC1ERKS0_(ptr, ptr)

declare void @_ZN3lol4realC1Ei(ptr, i32)

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 64}
!12 = !{!"_ZTSN3lol4realE", !7, i64 0, !10, i64 64}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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.lol::real" = type { [16 x i32], i32 }

@_ZN3lol4real4R_10E = external dso_local global %"class.lol::real", align 4
@_ZN3lol4real3R_1E = external dso_local global %"class.lol::real", align 4
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol3powERKNS_4realES2_(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3lol4realngEv(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3lol4realltERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmIERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realdVERKS0_(ptr noundef nonnull align 4 dereferenceable(68), ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3lol4realntEv(ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol5log10ERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol5floorERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3lol4ceilERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4, ptr noundef nonnull align 4 dereferenceable(68)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3lol4real5printEi(ptr noundef nonnull align 4 dereferenceable(68) %0, i32 noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %"class.lol::real", align 4
  %4 = alloca %"class.lol::real", align 4
  %5 = alloca %"class.lol::real", align 4
  %6 = alloca %"class.lol::real", align 4
  %7 = alloca %"class.lol::real", align 4
  %8 = alloca %"class.lol::real", align 4
  %9 = alloca %"class.lol::real", align 4
  %10 = alloca %"class.lol::real", align 4
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %3) #4
  call void @_ZN3lol4realC1ERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %0)
  %11 = getelementptr inbounds i8, ptr %3, i64 64
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %.not = icmp sgt i32 %12, -1
  br i1 %.not, label %16, label %13

13:                                               ; preds = %2
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #4
  call void @_ZNK3lol4realngEv(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %4, ptr noundef nonnull align 4 dereferenceable(68) %3)
  %15 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %4)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %4) #4
  br label %16

16:                                               ; preds = %13, %2
  %17 = call noundef zeroext i1 @_ZNK3lol4realntEv(ptr noundef nonnull align 4 dereferenceable(68) %3)
  br i1 %17, label %45, label %18

18:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %6) #4
  call void @_ZN3lol5log10ERKNS_4realE(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @_ZN3lol4ceilERKNS_4realE(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) %6)
  %19 = call noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68) %5)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %8) #4
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %8, i32 noundef %19)
  call void @_ZN3lol3powERKNS_4realES2_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E, ptr noundef nonnull align 4 dereferenceable(68) %8)
  %20 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realdVERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %7)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %7) #4
  %21 = call noundef zeroext i1 @_ZNK3lol4realltERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_1E)
  br i1 %21, label %22, label %25

22:                                               ; preds = %18
  %23 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E)
  %24 = add nsw i32 %19, -1
  br label %25

25:                                               ; preds = %22, %18
  %.012 = phi i32 [ %24, %22 ], [ %19, %18 ]
  %26 = icmp sgt i32 %1, 0
  br i1 %26, label %27, label %._crit_edge

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %9) #4
  call void @_ZN3lol5floorERKNS_4realE(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %9, ptr noundef nonnull align 4 dereferenceable(68) %3)
  %28 = call noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68) %9)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %9) #4
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %28)
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %10) #4
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %10, i32 noundef %28)
  %31 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmIERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %10)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %10) #4
  %32 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E)
  %exitcond.peel.not = icmp eq i32 %1, 1
  br i1 %exitcond.peel.not, label %._crit_edge, label %.lr.ph.peel.next

._crit_edge:                                      ; preds = %.lr.ph.peel.next, %27, %25
  %33 = icmp slt i32 %.012, 0
  br i1 %33, label %39, label %42

.lr.ph.peel.next:                                 ; preds = %27, %.lr.ph.peel.next
  %.014 = phi i32 [ %38, %.lr.ph.peel.next ], [ 1, %27 ]
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %9) #4
  call void @_ZN3lol5floorERKNS_4realE(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %9, ptr noundef nonnull align 4 dereferenceable(68) %3)
  %34 = call noundef i32 @_ZNK3lol4realcviEv(ptr noundef nonnull align 4 dereferenceable(68) %9)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %9) #4
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %34)
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %10) #4
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %10, i32 noundef %34)
  %36 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmIERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %10)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %10) #4
  %37 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E)
  %38 = add nuw nsw i32 %.014, 1
  %exitcond.not = icmp eq i32 %38, %1
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.peel.next, !llvm.loop !10

39:                                               ; preds = %._crit_edge
  %40 = sub nsw i32 0, %.012
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %40)
  br label %45

42:                                               ; preds = %._crit_edge
  %.not13 = icmp eq i32 %.012, 0
  br i1 %.not13, label %45, label %43

43:                                               ; preds = %42
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %.012)
  br label %45

45:                                               ; preds = %39, %43, %42, %16
  %.str.2.sink = phi ptr [ @.str.4, %16 ], [ @.str.2, %42 ], [ @.str.2, %43 ], [ @.str.2, %39 ]
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %3) #4
  ret void
}

declare void @_ZN3lol4realC1ERKS0_(ptr, ptr) local_unnamed_addr

declare void @_ZN3lol4realC1Ei(ptr, i32) local_unnamed_addr

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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, !9, i64 64}
!6 = !{!"_ZTSN3lol4realE", !7, i64 0, !9, i64 64}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = distinct !{!10, !11, !12}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass