; LLVM IR from jrouwe/JoltPhysics :: TestFramework/UI/UIAnimationSlide.ll (ZN16UIAnimationSlide4InitEP9UIElement)

; 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.UIAnimationSlide = type { %class.UIAnimation, i32, i32, i32, float, float, i32, i32, i32, i32, float }
%class.UIAnimation = type { ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16UIAnimationSlide4InitEP9UIElement(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = call noundef i32 @_ZNK9UIElement12GetRelativeXEv(ptr noundef nonnull align 8 dereferenceable(144) %11)
  %13 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 8
  store i32 %12, ptr %13, align 4, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = call noundef i32 @_ZNK9UIElement12GetRelativeYEv(ptr noundef nonnull align 8 dereferenceable(144) %14)
  %16 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 9
  store i32 %15, ptr %16, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = call noundef ptr @_ZNK9UIElement10GetManagerEv(ptr noundef nonnull align 8 dereferenceable(144) %17)
  %19 = call noundef ptr @_ZN9UIManager11GetRendererEv(ptr noundef nonnull align 8 dereferenceable(248) %18)
  %20 = call noundef ptr @_ZNK8Renderer9GetWindowEv(ptr noundef nonnull align 16 dereferenceable(832) %19)
  store ptr %20, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call noundef i32 @_ZNK9UIElement4GetXEv(ptr noundef nonnull align 8 dereferenceable(144) %21)
  store i32 %22, ptr %6, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48) %23)
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = call noundef i32 @_ZNK9UIElement4GetXEv(ptr noundef nonnull align 8 dereferenceable(144) %25)
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = call noundef i32 @_ZNK9UIElement8GetWidthEv(ptr noundef nonnull align 8 dereferenceable(144) %27)
  %29 = add nsw i32 %26, %28
  %30 = sub nsw i32 %24, %29
  store i32 %30, ptr %7, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = call noundef i32 @_ZNK9UIElement4GetYEv(ptr noundef nonnull align 8 dereferenceable(144) %31)
  store i32 %32, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48) %33)
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = call noundef i32 @_ZNK9UIElement4GetYEv(ptr noundef nonnull align 8 dereferenceable(144) %35)
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = call noundef i32 @_ZNK9UIElement9GetHeightEv(ptr noundef nonnull align 8 dereferenceable(144) %37)
  %39 = add nsw i32 %36, %38
  %40 = sub nsw i32 %34, %39
  store i32 %40, ptr %9, align 4, !tbaa !16
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %42 = load i32, ptr %41, align 4, !tbaa !16
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %44 = load i32, ptr %43, align 4, !tbaa !16
  %45 = icmp slt i32 %42, %44
  br i1 %45, label %46, label %66

46:                                               ; preds = %2
  %47 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 8
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = load i32, ptr %6, align 4, !tbaa !16
  %50 = load i32, ptr %7, align 4, !tbaa !16
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %52, label %56

52:                                               ; preds = %46
  %53 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 2
  %54 = load i32, ptr %53, align 4, !tbaa !17
  %55 = sub nsw i32 0, %54
  br label %59

56:                                               ; preds = %46
  %57 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 2
  %58 = load i32, ptr %57, align 4, !tbaa !17
  br label %59

59:                                               ; preds = %56, %52
  %60 = phi i32 [ %55, %52 ], [ %58, %56 ]
  %61 = add nsw i32 %48, %60
  %62 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 6
  store i32 %61, ptr %62, align 4, !tbaa !18
  %63 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 9
  %64 = load i32, ptr %63, align 8, !tbaa !15
  %65 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 7
  store i32 %64, ptr %65, align 8, !tbaa !19
  br label %86

66:                                               ; preds = %2
  %67 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 8
  %68 = load i32, ptr %67, align 4, !tbaa !9
  %69 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 6
  store i32 %68, ptr %69, align 4, !tbaa !18
  %70 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 9
  %71 = load i32, ptr %70, align 8, !tbaa !15
  %72 = load i32, ptr %8, align 4, !tbaa !16
  %73 = load i32, ptr %9, align 4, !tbaa !16
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %75, label %79

75:                                               ; preds = %66
  %76 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 3
  %77 = load i32, ptr %76, align 8, !tbaa !20
  %78 = sub nsw i32 0, %77
  br label %82

79:                                               ; preds = %66
  %80 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 3
  %81 = load i32, ptr %80, align 8, !tbaa !20
  br label %82

82:                                               ; preds = %79, %75
  %83 = phi i32 [ %78, %75 ], [ %81, %79 ]
  %84 = add nsw i32 %71, %83
  %85 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 7
  store i32 %84, ptr %85, align 8, !tbaa !19
  br label %86

86:                                               ; preds = %82, %59
  %87 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 1
  %88 = load i32, ptr %87, align 8, !tbaa !21
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %92

90:                                               ; preds = %86
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN9UIElement18SetAnimatedVisibleEb(ptr noundef nonnull align 8 dereferenceable(144) %91, i1 noundef zeroext true)
  br label %92

92:                                               ; preds = %90, %86
  %93 = getelementptr inbounds %class.UIAnimationSlide, ptr %10, i32 0, i32 10
  store float 0.000000e+00, ptr %93, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement12GetRelativeXEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement12GetRelativeYEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9UIElement10GetManagerEv(ptr noundef nonnull align 8 dereferenceable(144)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN9UIManager11GetRendererEv(ptr noundef nonnull align 8 dereferenceable(248)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8Renderer9GetWindowEv(ptr noundef nonnull align 16 dereferenceable(832)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement4GetXEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement8GetWidthEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement4GetYEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement9GetHeightEv(ptr noundef nonnull align 8 dereferenceable(144)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9UIElement18SetAnimatedVisibleEb(ptr noundef nonnull align 8 dereferenceable(144), i1 noundef zeroext) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint 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 #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, !13, i64 36}
!10 = !{!"_ZTS16UIAnimationSlide", !11, i64 0, !12, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !14, i64 44}
!11 = !{!"_ZTS11UIAnimation"}
!12 = !{!"_ZTSN16UIAnimationSlide5EModeE", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!10, !13, i64 40}
!16 = !{!13, !13, i64 0}
!17 = !{!10, !13, i64 12}
!18 = !{!10, !13, i64 28}
!19 = !{!10, !13, i64 32}
!20 = !{!10, !13, i64 16}
!21 = !{!10, !12, i64 8}
!22 = !{!10, !14, i64 44}


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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16UIAnimationSlide4InitEP9UIElement(ptr nocapture noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %1) unnamed_addr #1 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = tail call noundef i32 @_ZNK9UIElement12GetRelativeXEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %8 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 %7, ptr %8, align 4, !tbaa !5
  %9 = tail call noundef i32 @_ZNK9UIElement12GetRelativeYEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %9, ptr %10, align 8, !tbaa !13
  %11 = tail call noundef ptr @_ZNK9UIElement10GetManagerEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %12 = tail call noundef ptr @_ZN9UIManager11GetRendererEv(ptr noundef nonnull align 8 dereferenceable(248) %11)
  %13 = tail call noundef ptr @_ZNK8Renderer9GetWindowEv(ptr noundef nonnull align 16 dereferenceable(832) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %14 = tail call noundef i32 @_ZNK9UIElement4GetXEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  store i32 %14, ptr %3, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %15 = tail call noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48) %13)
  %16 = tail call noundef i32 @_ZNK9UIElement4GetXEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %17 = tail call noundef i32 @_ZNK9UIElement8GetWidthEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %18 = add i32 %16, %17
  %19 = sub i32 %15, %18
  store i32 %19, ptr %4, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %20 = tail call noundef i32 @_ZNK9UIElement4GetYEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  store i32 %20, ptr %5, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %21 = tail call noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48) %13)
  %22 = tail call noundef i32 @_ZNK9UIElement4GetYEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %23 = tail call noundef i32 @_ZNK9UIElement9GetHeightEv(ptr noundef nonnull align 8 dereferenceable(144) %1)
  %24 = add i32 %22, %23
  %25 = sub i32 %21, %24
  store i32 %25, ptr %6, align 4, !tbaa !14
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %27 = load i32, ptr %26, align 4, !tbaa !14
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %29 = load i32, ptr %28, align 4, !tbaa !14
  %30 = icmp slt i32 %27, %29
  %31 = load i32, ptr %8, align 4, !tbaa !5
  br i1 %30, label %32, label %42

32:                                               ; preds = %2
  %33 = load i32, ptr %3, align 4, !tbaa !14
  %34 = load i32, ptr %4, align 4, !tbaa !14
  %35 = icmp slt i32 %33, %34
  %36 = getelementptr inbounds i8, ptr %0, i64 12
  %37 = load i32, ptr %36, align 4
  %38 = sub nsw i32 0, %37
  %39 = select i1 %35, i32 %38, i32 %37
  %40 = add nsw i32 %39, %31
  %41 = load i32, ptr %10, align 8, !tbaa !13
  br label %52

42:                                               ; preds = %2
  %43 = load i32, ptr %10, align 8, !tbaa !13
  %44 = load i32, ptr %5, align 4, !tbaa !14
  %45 = load i32, ptr %6, align 4, !tbaa !14
  %46 = icmp slt i32 %44, %45
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  %48 = load i32, ptr %47, align 8
  %49 = sub nsw i32 0, %48
  %50 = select i1 %46, i32 %49, i32 %48
  %51 = add nsw i32 %50, %43
  br label %52

52:                                               ; preds = %42, %32
  %.sink18 = phi i32 [ %40, %32 ], [ %31, %42 ]
  %.sink = phi i32 [ %41, %32 ], [ %51, %42 ]
  %53 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %.sink18, ptr %53, align 4
  %54 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %.sink, ptr %54, align 8
  %55 = getelementptr inbounds i8, ptr %0, i64 8
  %56 = load i32, ptr %55, align 8, !tbaa !15
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %52
  call void @_ZN9UIElement18SetAnimatedVisibleEb(ptr noundef nonnull align 8 dereferenceable(144) %1, i1 noundef zeroext true)
  br label %59

59:                                               ; preds = %58, %52
  %60 = getelementptr inbounds i8, ptr %0, i64 44
  store float 0.000000e+00, ptr %60, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement12GetRelativeXEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement12GetRelativeYEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9UIElement10GetManagerEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN9UIManager11GetRendererEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8Renderer9GetWindowEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement4GetXEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow14GetWindowWidthEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement8GetWidthEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement4GetYEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17ApplicationWindow15GetWindowHeightEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK9UIElement9GetHeightEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9UIElement18SetAnimatedVisibleEb(ptr noundef nonnull align 8 dereferenceable(144), i1 noundef zeroext) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint 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 #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, !11, i64 36}
!6 = !{!"_ZTS16UIAnimationSlide", !7, i64 0, !8, i64 8, !11, i64 12, !11, i64 16, !12, i64 20, !12, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !12, i64 44}
!7 = !{!"_ZTS11UIAnimation"}
!8 = !{!"_ZTSN16UIAnimationSlide5EModeE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"float", !9, i64 0}
!13 = !{!6, !11, i64 40}
!14 = !{!11, !11, i64 0}
!15 = !{!6, !8, i64 8}
!16 = !{!6, !12, i64 44}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass