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

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

%union.anon.2 = type { float }
%"class.lol::real" = type { [16 x i32], i32 }

@__const._ZN3lol4sqrtERKNS_4realE.u = external hidden unnamed_addr constant %union.anon.2, align 4
@__const._ZN3lol4sqrtERKNS_4realE.v = external hidden unnamed_addr constant %union.anon.2, align 4
@_ZN3lol4real3R_3E = external dso_local global %"class.lol::real", align 4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

; 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)) #1 align 2

; 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3lol4sqrtERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4 %0, ptr noundef nonnull align 4 dereferenceable(68) %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %union.anon.2, align 4
  %6 = alloca %union.anon.2, align 4
  %7 = alloca %"class.lol::real", align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.lol::real", align 4
  %12 = alloca %"class.lol::real", align 4
  %13 = alloca %"class.lol::real", align 4
  %14 = alloca %"class.lol::real", align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.lol::real", ptr %15, i32 0, i32 1
  %17 = load i32, ptr %16, align 4, !tbaa !9
  %18 = shl i32 %17, 1
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %22, label %20

20:                                               ; preds = %2
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3lol4realC1ERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %0, ptr noundef nonnull align 4 dereferenceable(68) %21)
  br label %95

22:                                               ; preds = %2
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.lol::real", ptr %23, i32 0, i32 1
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = lshr i32 %25, 31
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %28, label %32

28:                                               ; preds = %22
  call void @_ZN3lol4realC1Ev(ptr noundef nonnull align 4 dereferenceable(68) %0)
  %29 = getelementptr inbounds %"class.lol::real", ptr %0, i32 0, i32 1
  store i32 2147483647, ptr %29, align 4, !tbaa !9
  %30 = getelementptr inbounds %"class.lol::real", ptr %0, i32 0, i32 0
  %31 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0
  store i32 65535, ptr %31, align 4, !tbaa !12
  br label %95

32:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const._ZN3lol4sqrtERKNS_4realE.u, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const._ZN3lol4sqrtERKNS_4realE.v, i64 4, i1 false)
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.lol::real", ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = and i32 %35, 1
  %37 = shl i32 %36, 23
  %38 = load i32, ptr %6, align 4, !tbaa !13
  %39 = sub i32 %38, %37
  store i32 %39, ptr %6, align 4, !tbaa !13
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.lol::real", ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds [16 x i32], ptr %41, i64 0, i64 0
  %43 = load i32, ptr %42, align 4, !tbaa !12
  %44 = lshr i32 %43, 9
  %45 = load i32, ptr %6, align 4, !tbaa !13
  %46 = or i32 %45, %44
  store i32 %46, ptr %6, align 4, !tbaa !13
  %47 = load float, ptr %6, align 4, !tbaa !13
  %48 = call float @sqrtf(float noundef %47) #5
  %49 = fdiv float 1.000000e+00, %48
  store float %49, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 68, ptr %7) #5
  call void @_ZN3lol4realC1Ev(ptr noundef nonnull align 4 dereferenceable(68) %7)
  %50 = load i32, ptr %6, align 4, !tbaa !13
  %51 = shl i32 %50, 9
  %52 = getelementptr inbounds %"class.lol::real", ptr %7, i32 0, i32 0
  %53 = getelementptr inbounds [16 x i32], ptr %52, i64 0, i64 0
  store i32 %51, ptr %53, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.lol::real", ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 4, !tbaa !9
  %57 = and i32 %56, -2147483648
  store i32 %57, ptr %8, align 4, !tbaa !12
  %58 = load i32, ptr %8, align 4, !tbaa !12
  %59 = getelementptr inbounds %"class.lol::real", ptr %7, i32 0, i32 1
  store i32 %58, ptr %59, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.lol::real", ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = and i32 %62, 2147483647
  store i32 %63, ptr %9, align 4, !tbaa !12
  %64 = load i32, ptr %9, align 4, !tbaa !12
  %65 = add i32 %64, 1
  %66 = udiv i32 %65, 2
  %67 = sub i32 1610612735, %66
  store i32 %67, ptr %9, align 4, !tbaa !12
  %68 = load i32, ptr %9, align 4, !tbaa !12
  %69 = load i32, ptr %6, align 4, !tbaa !13
  %70 = lshr i32 %69, 23
  %71 = add i32 %68, %70
  %72 = load i32, ptr %5, align 4, !tbaa !13
  %73 = lshr i32 %72, 23
  %74 = sub i32 %71, %73
  store i32 %74, ptr %9, align 4, !tbaa !12
  %75 = load i32, ptr %9, align 4, !tbaa !12
  %76 = and i32 %75, 2147483647
  %77 = getelementptr inbounds %"class.lol::real", ptr %7, i32 0, i32 1
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = or i32 %78, %76
  store i32 %79, ptr %77, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !12
  br label %80

80:                                               ; preds = %90, %32
  %81 = load i32, ptr %10, align 4, !tbaa !12
  %82 = icmp sle i32 %81, 16
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %93

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 68, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 68, ptr %12) #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 @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %14, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %7)
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3lol4realmlERKS0_(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) %85)
  call void @_ZNK3lol4realmiERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %12, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_3E, ptr noundef nonnull align 4 dereferenceable(68) %13)
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %11, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %12)
  %86 = call noundef nonnull align 4 dereferenceable(68) ptr @_ZN3lol4realaSERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %11)
  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.end.p0(i64 68, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr %11) #5
  %87 = getelementptr inbounds %"class.lol::real", ptr %7, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !9
  %89 = add i32 %88, -1
  store i32 %89, ptr %87, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %84
  %91 = load i32, ptr %10, align 4, !tbaa !12
  %92 = mul nsw i32 %91, 2
  store i32 %92, ptr %10, align 4, !tbaa !12
  br label %80, !llvm.loop !14

93:                                               ; preds = %83
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %0, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %94)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 68, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %95

95:                                               ; preds = %93, %28, %20
  ret void
}

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #4

declare void @_ZN3lol4realC1Ev(ptr)

declare void @_ZN3lol4realC1ERKS0_(ptr, ptr)

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 64}
!10 = !{!"_ZTSN3lol4realE", !7, i64 0, !11, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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"

%union.anon.2 = type { float }
%"class.lol::real" = type { [16 x i32], i32 }

@__const._ZN3lol4sqrtERKNS_4realE.u = external hidden unnamed_addr constant %union.anon.2, align 4
@__const._ZN3lol4sqrtERKNS_4realE.v = external hidden unnamed_addr constant %union.anon.2, align 4
@_ZN3lol4real3R_3E = 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
declare dso_local void @_ZNK3lol4realmiERKS0_(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: mustprogress uwtable
declare dso_local void @_ZNK3lol4realmlERKS0_(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: mustprogress uwtable
define dso_local void @_ZN3lol4sqrtERKNS_4realE(ptr dead_on_unwind noalias writable sret(%"class.lol::real") align 4 %0, ptr noundef nonnull align 4 dereferenceable(68) %1) local_unnamed_addr #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 = getelementptr inbounds i8, ptr %1, i64 64
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %.mask = and i32 %9, 2147483647
  %.not = icmp eq i32 %.mask, 0
  br i1 %.not, label %10, label %11

10:                                               ; preds = %2
  tail call void @_ZN3lol4realC1ERKS0_(ptr noundef nonnull align 4 dereferenceable(68) %0, ptr noundef nonnull align 4 dereferenceable(68) %1)
  br label %52

11:                                               ; preds = %2
  %.not18 = icmp sgt i32 %9, -1
  br i1 %.not18, label %14, label %12

12:                                               ; preds = %11
  tail call void @_ZN3lol4realC1Ev(ptr noundef nonnull align 4 dereferenceable(68) %0)
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 2147483647, ptr %13, align 4, !tbaa !5
  store i32 65535, ptr %0, align 4, !tbaa !10
  br label %52

14:                                               ; preds = %11
  %.sroa.09.0.copyload = load i32, ptr @__const._ZN3lol4sqrtERKNS_4realE.u, align 4
  %.sroa.0.0.copyload19 = load i32, ptr @__const._ZN3lol4sqrtERKNS_4realE.v, align 4
  %15 = shl i32 %9, 23
  %16 = and i32 %15, 8388608
  %17 = sub i32 %.sroa.0.0.copyload19, %16
  %18 = load i32, ptr %1, align 4, !tbaa !10
  %19 = lshr i32 %18, 9
  %20 = or i32 %19, %17
  %21 = bitcast i32 %20 to float
  %22 = tail call float @sqrtf(float noundef %21) #4
  %23 = fdiv float 1.000000e+00, %22
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %3) #4
  call void @_ZN3lol4realC1Ev(ptr noundef nonnull align 4 dereferenceable(68) %3)
  %24 = bitcast float %23 to i32
  %25 = shl i32 %24, 9
  store i32 %25, ptr %3, align 4, !tbaa !10
  %26 = load i32, ptr %8, align 4, !tbaa !5
  %27 = and i32 %26, -2147483648
  %28 = getelementptr inbounds i8, ptr %3, i64 64
  %29 = and i32 %26, 2147483647
  %30 = add nuw i32 %29, 1
  %31 = lshr i32 %30, 1
  %32 = lshr i32 %24, 23
  %33 = lshr i32 %.sroa.09.0.copyload, 23
  %reass.sub = sub nsw i32 %32, %33
  %34 = add nsw i32 %reass.sub, 1610612735
  %35 = add nuw i32 %34, %27
  %36 = sub nuw i32 %35, %31
  store i32 %36, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #4
  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 @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #4
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %1)
  call void @_ZNK3lol4realmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_3E, ptr noundef nonnull align 4 dereferenceable(68) %6)
  call void @_ZNK3lol4realmlERKS0_(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) %5)
  %37 = 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 %7) #4
  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.end.p0(i64 68, ptr nonnull %4) #4
  %38 = load i32, ptr %28, align 4, !tbaa !5
  %39 = add i32 %38, -1
  store i32 %39, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #4
  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 @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #4
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %1)
  call void @_ZNK3lol4realmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_3E, ptr noundef nonnull align 4 dereferenceable(68) %6)
  call void @_ZNK3lol4realmlERKS0_(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) %5)
  %40 = 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 %7) #4
  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.end.p0(i64 68, ptr nonnull %4) #4
  %41 = load i32, ptr %28, align 4, !tbaa !5
  %42 = add i32 %41, -1
  store i32 %42, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #4
  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 @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #4
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %1)
  call void @_ZNK3lol4realmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_3E, ptr noundef nonnull align 4 dereferenceable(68) %6)
  call void @_ZNK3lol4realmlERKS0_(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) %5)
  %43 = 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 %7) #4
  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.end.p0(i64 68, ptr nonnull %4) #4
  %44 = load i32, ptr %28, align 4, !tbaa !5
  %45 = add i32 %44, -1
  store i32 %45, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #4
  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 @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #4
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %1)
  call void @_ZNK3lol4realmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_3E, ptr noundef nonnull align 4 dereferenceable(68) %6)
  call void @_ZNK3lol4realmlERKS0_(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) %5)
  %46 = 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 %7) #4
  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.end.p0(i64 68, ptr nonnull %4) #4
  %47 = load i32, ptr %28, align 4, !tbaa !5
  %48 = add i32 %47, -1
  store i32 %48, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %4) #4
  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 @llvm.lifetime.start.p0(i64 68, ptr nonnull %7) #4
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %7, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %3)
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %6, ptr noundef nonnull align 4 dereferenceable(68) %7, ptr noundef nonnull align 4 dereferenceable(68) %1)
  call void @_ZNK3lol4realmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.lol::real") align 4 %5, ptr noundef nonnull align 4 dereferenceable(68) @_ZN3lol4real3R_3E, ptr noundef nonnull align 4 dereferenceable(68) %6)
  call void @_ZNK3lol4realmlERKS0_(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) %5)
  %49 = 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 %7) #4
  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.end.p0(i64 68, ptr nonnull %4) #4
  %50 = load i32, ptr %28, align 4, !tbaa !5
  %51 = add i32 %50, -1
  store i32 %51, ptr %28, align 4, !tbaa !5
  call void @_ZNK3lol4realmlERKS0_(ptr dead_on_unwind writable sret(%"class.lol::real") align 4 %0, ptr noundef nonnull align 4 dereferenceable(68) %3, ptr noundef nonnull align 4 dereferenceable(68) %1)
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %3) #4
  br label %52

52:                                               ; preds = %14, %12, %10
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #3

declare void @_ZN3lol4realC1Ev(ptr) local_unnamed_addr

declare void @_ZN3lol4realC1ERKS0_(ptr, ptr) 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 = { 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 #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 = !{!9, !9, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass