; LLVM IR from DarrenSweeney/3D-Physics-Engine :: Physics Engine/Imgui/imgui.ll (ZN5ImGui16PhysicsEngineGUIEPb)

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

%struct.ImVec2 = type { float, float }

@_ZZN5ImGui16PhysicsEngineGUIEPbE11no_titlebar = external hidden global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE9no_border = external hidden global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE9no_resize = external hidden global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE7no_move = external hidden global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE12no_scrollbar = external hidden global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE11no_collapse = external hidden global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE8bg_alpha = external hidden global float, align 4
@.str.190 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [75 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #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 void @_ZN5ImGui13PushItemWidthEf(float noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbRK6ImVec2fi(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), float noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui3EndEv() #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui14GetWindowWidthEv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11TextWrappedEPKcz(ptr noundef, ...) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKcS1_bb(ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7TreePopEv() #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui16PhysicsEngineGUIEPb(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  %10 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE11no_titlebar, align 1, !tbaa !11, !range !13, !noundef !14
  %11 = trunc i8 %10 to i1
  br i1 %11, label %12, label %15

12:                                               ; preds = %1
  %13 = load i32, ptr %3, align 4, !tbaa !9
  %14 = or i32 %13, 1
  store i32 %14, ptr %3, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %12, %1
  %16 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE9no_border, align 1, !tbaa !11, !range !13, !noundef !14
  %17 = trunc i8 %16 to i1
  br i1 %17, label %21, label %18

18:                                               ; preds = %15
  %19 = load i32, ptr %3, align 4, !tbaa !9
  %20 = or i32 %19, 128
  store i32 %20, ptr %3, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %18, %15
  %22 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE9no_resize, align 1, !tbaa !11, !range !13, !noundef !14
  %23 = trunc i8 %22 to i1
  br i1 %23, label %24, label %27

24:                                               ; preds = %21
  %25 = load i32, ptr %3, align 4, !tbaa !9
  %26 = or i32 %25, 2
  store i32 %26, ptr %3, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %24, %21
  %28 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE7no_move, align 1, !tbaa !11, !range !13, !noundef !14
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %33

30:                                               ; preds = %27
  %31 = load i32, ptr %3, align 4, !tbaa !9
  %32 = or i32 %31, 4
  store i32 %32, ptr %3, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %30, %27
  %34 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE12no_scrollbar, align 1, !tbaa !11, !range !13, !noundef !14
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %39

36:                                               ; preds = %33
  %37 = load i32, ptr %3, align 4, !tbaa !9
  %38 = or i32 %37, 8
  store i32 %38, ptr %3, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %36, %33
  %40 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE11no_collapse, align 1, !tbaa !11, !range !13, !noundef !14
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %45

42:                                               ; preds = %39
  %43 = load i32, ptr %3, align 4, !tbaa !9
  %44 = or i32 %43, 32
  store i32 %44, ptr %3, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %42, %39
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 5.000000e+02, float noundef 6.000000e+02)
  %47 = load float, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE8bg_alpha, align 4, !tbaa !15
  %48 = load i32, ptr %3, align 4, !tbaa !9
  %49 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbRK6ImVec2fi(ptr noundef @.str.190, ptr noundef %46, ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %47, i32 noundef %48)
  %50 = xor i1 %49, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br i1 %50, label %51, label %52

51:                                               ; preds = %45
  call void @_ZN5ImGui3EndEv()
  store i32 1, ptr %5, align 4
  br label %85

52:                                               ; preds = %45
  %53 = call noundef float @_ZN5ImGui14GetWindowWidthEv()
  %54 = fmul float %53, 0x3FE4CCCCC0000000
  call void @_ZN5ImGui13PushItemWidthEf(float noundef %54)
  %55 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKcS1_bb(ptr noundef @.str.191, ptr noundef null, i1 noundef zeroext true, i1 noundef zeroext false)
  br i1 %55, label %56, label %81

56:                                               ; preds = %52
  %57 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.192)
  br i1 %57, label %58, label %62

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %59 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.193, ptr noundef nonnull align 4 dereferenceable(8) %6, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br i1 %59, label %60, label %61

60:                                               ; preds = %58
  br label %61

61:                                               ; preds = %60, %58
  call void @_ZN5ImGui7TreePopEv()
  br label %62

62:                                               ; preds = %61, %56
  %63 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.194)
  br i1 %63, label %64, label %68

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %65 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.195, ptr noundef nonnull align 4 dereferenceable(8) %7, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br i1 %65, label %66, label %67

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66, %64
  call void @_ZN5ImGui7TreePopEv()
  br label %68

68:                                               ; preds = %67, %62
  %69 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.196)
  br i1 %69, label %70, label %74

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %71 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.197, ptr noundef nonnull align 4 dereferenceable(8) %8, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br i1 %71, label %72, label %73

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %72, %70
  call void @_ZN5ImGui7TreePopEv()
  br label %74

74:                                               ; preds = %73, %68
  %75 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.198)
  br i1 %75, label %76, label %80

76:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %77 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.199, ptr noundef nonnull align 4 dereferenceable(8) %9, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br i1 %77, label %78, label %79

78:                                               ; preds = %76
  br label %79

79:                                               ; preds = %78, %76
  call void @_ZN5ImGui7TreePopEv()
  br label %80

80:                                               ; preds = %79, %74
  br label %81

81:                                               ; preds = %80, %52
  %82 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKcS1_bb(ptr noundef @.str.200, ptr noundef null, i1 noundef zeroext true, i1 noundef zeroext false)
  br i1 %82, label %83, label %84

83:                                               ; preds = %81
  call void (ptr, ...) @_ZN5ImGui11TextWrappedEPKcz(ptr noundef @.str.201)
  br label %84

84:                                               ; preds = %83, %81
  call void @_ZN5ImGui3EndEv()
  store i32 0, ptr %5, align 4
  br label %85

85:                                               ; preds = %84, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  %86 = load i32, ptr %5, align 4
  switch i32 %86, label %88 [
    i32 0, label %87
    i32 1, label %87
  ]

87:                                               ; preds = %85, %85
  ret void

88:                                               ; preds = %85
  unreachable
}

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 = { mustprogress uwtable "min-legal-vector-width"="64" "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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}


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

%struct.ImVec2 = type { float, float }

@_ZZN5ImGui16PhysicsEngineGUIEPbE11no_titlebar = external hidden local_unnamed_addr global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE9no_border = external hidden local_unnamed_addr global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE9no_resize = external hidden local_unnamed_addr global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE7no_move = external hidden local_unnamed_addr global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE12no_scrollbar = external hidden local_unnamed_addr global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE11no_collapse = external hidden local_unnamed_addr global i8, align 1
@_ZZN5ImGui16PhysicsEngineGUIEPbE8bg_alpha = external hidden local_unnamed_addr global float, align 4
@.str.190 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [75 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) 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 @_ZN5ImGui13PushItemWidthEf(float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbRK6ImVec2fi(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), float noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui3EndEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui14GetWindowWidthEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11TextWrappedEPKcz(ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKcS1_bb(ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7TreePopEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui16PhysicsEngineGUIEPb(ptr noundef %0) local_unnamed_addr #2 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE11no_titlebar, align 1, !tbaa !5, !range !9, !noundef !10
  %spec.select = zext nneg i8 %7 to i32
  %8 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE9no_border, align 1, !tbaa !5, !range !9, !noundef !10
  %9 = trunc nuw i8 %8 to i1
  %10 = or disjoint i32 %spec.select, 128
  %.1 = select i1 %9, i32 %spec.select, i32 %10
  %11 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE9no_resize, align 1, !tbaa !5, !range !9, !noundef !10
  %12 = trunc nuw i8 %11 to i1
  %13 = or disjoint i32 %.1, 2
  %.2 = select i1 %12, i32 %13, i32 %.1
  %14 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE7no_move, align 1, !tbaa !5, !range !9, !noundef !10
  %15 = trunc nuw i8 %14 to i1
  %16 = or i32 %.2, 4
  %.3 = select i1 %15, i32 %16, i32 %.2
  %17 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE12no_scrollbar, align 1, !tbaa !5, !range !9, !noundef !10
  %18 = trunc nuw i8 %17 to i1
  %19 = or i32 %.3, 8
  %.4 = select i1 %18, i32 %19, i32 %.3
  %20 = load i8, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE11no_collapse, align 1, !tbaa !5, !range !9, !noundef !10
  %21 = trunc nuw i8 %20 to i1
  %22 = or i32 %.4, 32
  %.5 = select i1 %21, i32 %22, i32 %.4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 5.000000e+02, float noundef 6.000000e+02)
  %23 = load float, ptr @_ZZN5ImGui16PhysicsEngineGUIEPbE8bg_alpha, align 4, !tbaa !11
  %24 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbRK6ImVec2fi(ptr noundef nonnull @.str.190, ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %23, i32 noundef %.5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  br i1 %24, label %25, label %48

25:                                               ; preds = %1
  %26 = call noundef float @_ZN5ImGui14GetWindowWidthEv()
  %27 = fmul float %26, 0x3FE4CCCCC0000000
  call void @_ZN5ImGui13PushItemWidthEf(float noundef %27)
  %28 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKcS1_bb(ptr noundef nonnull @.str.191, ptr noundef null, i1 noundef zeroext true, i1 noundef zeroext false)
  br i1 %28, label %29, label %45

29:                                               ; preds = %25
  %30 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.192)
  br i1 %30, label %31, label %33

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %32 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.193, ptr noundef nonnull align 4 dereferenceable(8) %3, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN5ImGui7TreePopEv()
  br label %33

33:                                               ; preds = %31, %29
  %34 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.194)
  br i1 %34, label %35, label %37

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %36 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.195, ptr noundef nonnull align 4 dereferenceable(8) %4, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @_ZN5ImGui7TreePopEv()
  br label %37

37:                                               ; preds = %35, %33
  %38 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.196)
  br i1 %38, label %39, label %41

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %40 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.197, ptr noundef nonnull align 4 dereferenceable(8) %5, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @_ZN5ImGui7TreePopEv()
  br label %41

41:                                               ; preds = %39, %37
  %42 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.198)
  br i1 %42, label %43, label %45

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %44 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.199, ptr noundef nonnull align 4 dereferenceable(8) %6, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN5ImGui7TreePopEv()
  br label %45

45:                                               ; preds = %41, %43, %25
  %46 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKcS1_bb(ptr noundef nonnull @.str.200, ptr noundef null, i1 noundef zeroext true, i1 noundef zeroext false)
  br i1 %46, label %47, label %48

47:                                               ; preds = %45
  call void (ptr, ...) @_ZN5ImGui11TextWrappedEPKcz(ptr noundef nonnull @.str.201)
  br label %48

48:                                               ; preds = %45, %47, %1
  call void @_ZN5ImGui3EndEv()
  ret void
}

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 uwtable "min-legal-vector-width"="64" "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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass