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

; 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

; 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
define dso_local void @_ZN3lol4realC2EPKc(ptr noundef nonnull align 4 dereferenceable(68) %0, ptr noundef %1) unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.lol::real", align 4
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %"class.lol::real", align 4
  %13 = alloca %"class.lol::real", align 4
  %14 = alloca %"class.lol::real", align 4
  %15 = alloca %"class.lol::real", align 4
  %16 = alloca %"class.lol::real", align 4
  %17 = alloca %"class.lol::real", align 4
  %18 = alloca %"class.lol::real", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 68, ptr %5) #5
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %5, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  store i8 0, ptr %7, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 0, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 0, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 0, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %20, ptr %11, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %84, %2
  %22 = load ptr, ptr %11, align 8, !tbaa !5
  %23 = load i8, ptr %22, align 1, !tbaa !13
  %24 = icmp ne i8 %23, 0
  br i1 %24, label %25, label %29

25:                                               ; preds = %21
  %26 = load i8, ptr %10, align 1, !tbaa !11, !range !14, !noundef !15
  %27 = trunc i8 %26 to i1
  %28 = xor i1 %27, true
  br label %29

29:                                               ; preds = %25, %21
  %30 = phi i1 [ false, %21 ], [ %28, %25 ]
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %87

32:                                               ; preds = %29
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = load i8, ptr %33, align 1, !tbaa !13
  %35 = sext i8 %34 to i32
  switch i32 %35, label %82 [
    i32 45, label %36
    i32 43, label %36
    i32 46, label %47
    i32 48, label %52
    i32 49, label %52
    i32 50, label %52
    i32 51, label %52
    i32 52, label %52
    i32 53, label %52
    i32 54, label %52
    i32 55, label %52
    i32 56, label %52
    i32 57, label %52
    i32 101, label %76
    i32 69, label %76
  ]

36:                                               ; preds = %32, %32
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = icmp ne ptr %37, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %36
  br label %83

41:                                               ; preds = %36
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = load i8, ptr %42, align 1, !tbaa !13
  %44 = sext i8 %43 to i32
  %45 = icmp eq i32 %44, 45
  %46 = zext i1 %45 to i8
  store i8 %46, ptr %9, align 1, !tbaa !11
  br label %83

47:                                               ; preds = %32
  %48 = load i8, ptr %7, align 1, !tbaa !11, !range !14, !noundef !15
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %51

51:                                               ; preds = %50, %47
  store i8 1, ptr %7, align 1, !tbaa !11
  br label %83

52:                                               ; preds = %32, %32, %32, %32, %32, %32, %32, %32, %32, %32
  %53 = load i8, ptr %8, align 1, !tbaa !11, !range !14, !noundef !15
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %58

55:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 68, ptr %12) #5
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %12, ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %5)
  call void @llvm.lifetime.start.p0(i64 68, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr %14) #5
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %14, ptr noundef nonnull align 4 dereferenceable(68) %12, ptr noundef nonnull align 4 dereferenceable(68) %12)
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %13, ptr noundef nonnull align 4 dereferenceable(68) %14, ptr noundef nonnull align 4 dereferenceable(68) %5)
  %56 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %12, ptr noundef nonnull align 4 dereferenceable(68) %13)
  call void @llvm.lifetime.end.p0(i64 68, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr %15) #5
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %15, ptr noundef nonnull align 4 dereferenceable(68) %12, ptr noundef nonnull align 4 dereferenceable(68) %12)
  %57 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %15)
  call void @llvm.lifetime.end.p0(i64 68, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr %12) #5
  br label %58

58:                                               ; preds = %55, %52
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = load i8, ptr %59, align 1, !tbaa !13
  %61 = sext i8 %60 to i32
  %62 = icmp ne i32 %61, 48
  br i1 %62, label %63, label %69

63:                                               ; preds = %58
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = load i8, ptr %64, align 1, !tbaa !13
  %66 = sext i8 %65 to i32
  %67 = sub nsw i32 %66, 48
  %68 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realpLEi(ptr noundef nonnull align 4 dereferenceable(68) %5, i32 noundef %67)
  store i8 1, ptr %8, align 1, !tbaa !11
  br label %69

69:                                               ; preds = %63, %58
  %70 = load i8, ptr %7, align 1, !tbaa !11, !range !14, !noundef !15
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %75

72:                                               ; preds = %69
  %73 = load i32, ptr %6, align 4, !tbaa !9
  %74 = add nsw i32 %73, -1
  store i32 %74, ptr %6, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %72, %69
  br label %83

76:                                               ; preds = %32, %32
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 1
  %79 = call i32 @atoi(ptr noundef %78) #6
  %80 = load i32, ptr %6, align 4, !tbaa !9
  %81 = add nsw i32 %80, %79
  store i32 %81, ptr %6, align 4, !tbaa !9
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %83

82:                                               ; preds = %32
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %83

83:                                               ; preds = %82, %76, %75, %51, %41, %40
  br label %84

84:                                               ; preds = %83
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i32 1
  store ptr %86, ptr %11, align 8, !tbaa !5
  br label %21, !llvm.loop !16

87:                                               ; preds = %31
  %88 = load i32, ptr %6, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %93

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 68, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr %17) #5
  %91 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %17, i32 noundef %91)
  call void @_ZN3lol3powERKNS_4realES2_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %16, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E, ptr noundef nonnull align 4 dereferenceable(68) %17)
  %92 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(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 %17) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr %16) #5
  br label %93

93:                                               ; preds = %90, %87
  %94 = load i8, ptr %9, align 1, !tbaa !11, !range !14, !noundef !15
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 68, ptr %18) #5
  call void @_ZNK3lol4realngEv(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %18, ptr noundef nonnull align 4 dereferenceable(68) %5)
  %97 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %5, ptr noundef nonnull align 4 dereferenceable(68) %18)
  call void @llvm.lifetime.end.p0(i64 68, ptr %18) #5
  br label %98

98:                                               ; preds = %96, %93
  call void @_ZN3lol4realC1ERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %19, ptr noundef nonnull align 4 dereferenceable(68) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr %5) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3lol4realplERKS0_(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 align 2

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

; 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

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 = { inlinehint 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 = { inlinehint mustprogress 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 = { nounwind }
attributes #6 = { 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 = !{!"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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = distinct !{!16, !17}
!17 = !{!"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

; 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
define dso_local void @_ZN3lol4realC2EPKc(ptr noundef nonnull align 4 dereferenceable(68) %0, ptr nocapture noundef readonly %1) 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) #5
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %3, i32 noundef 0)
  %11 = load i8, ptr %1, align 1, !tbaa !5
  switch i8 %11, label %._crit_edge.thread.thread [
    i8 57, label %15
    i8 45, label %19
    i8 43, label %19
    i8 46, label %21
    i8 69, label %12
    i8 101, label %12
    i8 48, label %.fold.split
    i8 49, label %15
    i8 50, label %15
    i8 51, label %15
    i8 52, label %15
    i8 53, label %15
    i8 54, label %15
    i8 55, label %15
    i8 56, label %15
  ]

12:                                               ; preds = %2, %2
  %13 = getelementptr inbounds i8, ptr %1, i64 1
  %14 = call i32 @atoi(ptr nocapture noundef %13) #6
  br label %._crit_edge

15:                                               ; preds = %2, %2, %2, %2, %2, %2, %2, %2, %2
  %16 = zext nneg i8 %11 to i32
  %17 = add nsw i32 %16, -48
  %18 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realpLEi(ptr noundef nonnull align 4 dereferenceable(68) %3, i32 noundef %17)
  br label %21

19:                                               ; preds = %2, %2
  %20 = icmp eq i8 %11, 45
  br label %21

.fold.split:                                      ; preds = %2
  br label %21

21:                                               ; preds = %2, %.fold.split, %15, %19
  %.126.peel = phi i8 [ 0, %19 ], [ 0, %15 ], [ 1, %2 ], [ 0, %.fold.split ]
  %.224.peel = phi i1 [ false, %19 ], [ true, %15 ], [ false, %2 ], [ false, %.fold.split ]
  %.121.peel = phi i1 [ %20, %19 ], [ false, %15 ], [ false, %2 ], [ false, %.fold.split ]
  %22 = getelementptr inbounds i8, ptr %1, i64 1
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = icmp eq i8 %23, 0
  br i1 %24, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %21
  br i1 %.121.peel, label %52, label %._crit_edge.thread.thread

._crit_edge:                                      ; preds = %.lr.ph, %45, %41, %12
  %.027.lcssa = phi i32 [ %14, %12 ], [ %44, %41 ], [ %.02736, %.lr.ph ], [ %.128, %45 ]
  %.020.lcssa = phi i1 [ false, %12 ], [ %.121.peel, %41 ], [ %.121.peel, %45 ], [ %.121.peel, %.lr.ph ]
  %.not = icmp eq i32 %.027.lcssa, 0
  br i1 %.not, label %51, label %49

.lr.ph:                                           ; preds = %21, %45
  %25 = phi i8 [ %47, %45 ], [ %23, %21 ]
  %.041 = phi ptr [ %46, %45 ], [ %22, %21 ]
  %.02238 = phi i1 [ %.224, %45 ], [ %.224.peel, %21 ]
  %.02537 = phi i8 [ %.126, %45 ], [ %.126.peel, %21 ]
  %.02736 = phi i32 [ %.128, %45 ], [ 0, %21 ]
  switch i8 %25, label %._crit_edge [
    i8 45, label %45
    i8 43, label %45
    i8 46, label %26
    i8 48, label %28
    i8 49, label %28
    i8 50, label %28
    i8 51, label %28
    i8 52, label %28
    i8 53, label %28
    i8 54, label %28
    i8 55, label %28
    i8 56, label %28
    i8 57, label %28
    i8 101, label %41
    i8 69, label %41
  ]

26:                                               ; preds = %.lr.ph
  %27 = trunc nuw i8 %.02537 to i1
  br label %45

28:                                               ; preds = %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph, %.lr.ph
  br i1 %.02238, label %29, label %32

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #5
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %4, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %6) #5
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %4, ptr noundef nonnull align 4 dereferenceable(68) %4)
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) %6, ptr noundef nonnull align 4 dereferenceable(68) %3)
  %30 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %4, ptr noundef nonnull align 4 dereferenceable(68) %5)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #5
  call void @_ZNK3lol4realplERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) %4, ptr noundef nonnull align 4 dereferenceable(68) %4)
  %31 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(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 %7) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %4) #5
  %.pre = load i8, ptr %.041, align 1, !tbaa !5
  br label %32

32:                                               ; preds = %29, %28
  %33 = phi i8 [ %.pre, %29 ], [ %25, %28 ]
  %.not32 = icmp eq i8 %33, 48
  br i1 %.not32, label %38, label %34

34:                                               ; preds = %32
  %35 = sext i8 %33 to i32
  %36 = add nsw i32 %35, -48
  %37 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realpLEi(ptr noundef nonnull align 4 dereferenceable(68) %3, i32 noundef %36)
  br label %38

38:                                               ; preds = %34, %32
  %.123 = phi i1 [ true, %34 ], [ %.02238, %32 ]
  %39 = and i8 %.02537, 1
  %40 = zext nneg i8 %39 to i32
  %spec.select34 = sub i32 %.02736, %40
  br label %45

41:                                               ; preds = %.lr.ph, %.lr.ph
  %42 = getelementptr inbounds i8, ptr %.041, i64 1
  %43 = call i32 @atoi(ptr nocapture noundef %42) #6
  %44 = add nsw i32 %43, %.02736
  br label %._crit_edge

45:                                               ; preds = %.lr.ph, %.lr.ph, %38, %26
  %.128 = phi i32 [ %.02736, %26 ], [ %spec.select34, %38 ], [ %.02736, %.lr.ph ], [ %.02736, %.lr.ph ]
  %.126 = phi i8 [ 1, %26 ], [ %.02537, %38 ], [ %.02537, %.lr.ph ], [ %.02537, %.lr.ph ]
  %.224 = phi i1 [ %.02238, %26 ], [ %.123, %38 ], [ %.02238, %.lr.ph ], [ %.02238, %.lr.ph ]
  %.2 = phi i1 [ %27, %26 ], [ false, %38 ], [ false, %.lr.ph ], [ false, %.lr.ph ]
  %46 = getelementptr inbounds i8, ptr %.041, i64 1
  %47 = load i8, ptr %46, align 1, !tbaa !5
  %48 = icmp eq i8 %47, 0
  %.not31 = select i1 %48, i1 true, i1 %.2
  br i1 %.not31, label %._crit_edge, label %.lr.ph, !llvm.loop !8

49:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %9) #5
  call void @_ZN3lol4realC1Ei(ptr noundef nonnull align 4 dereferenceable(68) %9, i32 noundef %.027.lcssa)
  call void @_ZN3lol3powERKNS_4realES2_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %8, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real4R_10E, ptr noundef nonnull align 4 dereferenceable(68) %9)
  %50 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realmLERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %8)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %8) #5
  br i1 %.020.lcssa, label %52, label %._crit_edge.thread.thread

51:                                               ; preds = %._crit_edge
  br i1 %.020.lcssa, label %52, label %._crit_edge.thread.thread

52:                                               ; preds = %49, %._crit_edge.thread, %51
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %10) #5
  call void @_ZNK3lol4realngEv(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %10, ptr noundef nonnull align 4 dereferenceable(68) %3)
  %53 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(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) #5
  br label %._crit_edge.thread.thread

._crit_edge.thread.thread:                        ; preds = %2, %49, %._crit_edge.thread, %52, %51
  call void @_ZN3lol4realC1ERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %0, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %3) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3lol4realplERKS0_(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 align 2

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

; 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

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 = { inlinehint 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 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9, !10}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass