; LLVM IR from Xingyu-Lin/softgym :: PyFlex/bindings/demo/imgui.ll (Z10imguiCheckPKcbb)

; 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.GuiState = type { i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i8, i8, i32, i32, float, i32, i32, i32, i8, i32, i32 }

@_ZL7g_state = external hidden global %struct.GuiState, align 4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z6inRectiiiib(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL20addGfxCmdRoundedRectfffffj(float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL13addGfxCmdTextiiiPKcj(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL11buttonLogicjb(i32 noundef, i1 noundef zeroext) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z8isActivej(i32 noundef) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5isHotj(i32 noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10imguiCheckPKcbb(ptr noundef %0, i1 noundef zeroext %1, i1 noundef zeroext %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %16 = zext i1 %1 to i8
  store i8 %16, ptr %5, align 1, !tbaa !9
  %17 = zext i1 %2 to i8
  store i8 %17, ptr %6, align 1, !tbaa !9
  %18 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 20), align 4, !tbaa !11
  %19 = add i32 %18, 1
  store i32 %19, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 20), align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %20 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 19), align 4, !tbaa !15
  %21 = shl i32 %20, 16
  %22 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 20), align 4, !tbaa !11
  %23 = or i32 %21, %22
  store i32 %23, ptr %7, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %24 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 15), align 4, !tbaa !17
  store i32 %24, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %25 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 16), align 4, !tbaa !18
  %26 = sub nsw i32 %25, 20
  store i32 %26, ptr %9, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %27 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 17), align 4, !tbaa !19
  store i32 %27, ptr %10, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 20, ptr %11, align 4, !tbaa !16
  %28 = load i32, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 16), align 4, !tbaa !18
  %29 = sub nsw i32 %28, 24
  store i32 %29, ptr getelementptr inbounds (%struct.GuiState, ptr @_ZL7g_state, i32 0, i32 16), align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  %30 = load i8, ptr %6, align 1, !tbaa !9, !range !20, !noundef !21
  %31 = trunc i8 %30 to i1
  br i1 %31, label %32, label %38

32:                                               ; preds = %3
  %33 = load i32, ptr %8, align 4, !tbaa !16
  %34 = load i32, ptr %9, align 4, !tbaa !16
  %35 = load i32, ptr %10, align 4, !tbaa !16
  %36 = load i32, ptr %11, align 4, !tbaa !16
  %37 = call noundef zeroext i1 @_Z6inRectiiiib(i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36, i1 noundef zeroext true)
  br label %38

38:                                               ; preds = %32, %3
  %39 = phi i1 [ false, %3 ], [ %37, %32 ]
  %40 = zext i1 %39 to i8
  store i8 %40, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  %41 = load i32, ptr %7, align 4, !tbaa !16
  %42 = load i8, ptr %12, align 1, !tbaa !9, !range !20, !noundef !21
  %43 = trunc i8 %42 to i1
  %44 = call noundef zeroext i1 @_ZL11buttonLogicjb(i32 noundef %41, i1 noundef zeroext %43)
  %45 = zext i1 %44 to i8
  store i8 %45, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %46 = load i32, ptr %8, align 4, !tbaa !16
  %47 = add nsw i32 %46, 10
  %48 = sub nsw i32 %47, 4
  store i32 %48, ptr %14, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %49 = load i32, ptr %9, align 4, !tbaa !16
  %50 = add nsw i32 %49, 10
  %51 = sub nsw i32 %50, 4
  store i32 %51, ptr %15, align 4, !tbaa !16
  %52 = load i32, ptr %14, align 4, !tbaa !16
  %53 = sitofp i32 %52 to float
  %54 = fsub float %53, 3.000000e+00
  %55 = load i32, ptr %15, align 4, !tbaa !16
  %56 = sitofp i32 %55 to float
  %57 = fsub float %56, 3.000000e+00
  %58 = load i32, ptr %7, align 4, !tbaa !16
  %59 = call noundef zeroext i1 @_Z8isActivej(i32 noundef %58)
  %60 = zext i1 %59 to i64
  %61 = select i1 %59, i32 196, i32 96
  %62 = trunc i32 %61 to i8
  %63 = call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext %62)
  call void @_ZL20addGfxCmdRoundedRectfffffj(float noundef %54, float noundef %57, float noundef 1.400000e+01, float noundef 1.400000e+01, float noundef 4.000000e+00, i32 noundef %63)
  %64 = load i8, ptr %5, align 1, !tbaa !9, !range !20, !noundef !21
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %87

66:                                               ; preds = %38
  %67 = load i8, ptr %6, align 1, !tbaa !9, !range !20, !noundef !21
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %80

69:                                               ; preds = %66
  %70 = load i32, ptr %14, align 4, !tbaa !16
  %71 = sitofp i32 %70 to float
  %72 = load i32, ptr %15, align 4, !tbaa !16
  %73 = sitofp i32 %72 to float
  %74 = load i32, ptr %7, align 4, !tbaa !16
  %75 = call noundef zeroext i1 @_Z8isActivej(i32 noundef %74)
  %76 = zext i1 %75 to i64
  %77 = select i1 %75, i32 255, i32 200
  %78 = trunc i32 %77 to i8
  %79 = call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext %78)
  call void @_ZL20addGfxCmdRoundedRectfffffj(float noundef %71, float noundef %73, float noundef 8.000000e+00, float noundef 8.000000e+00, float noundef 3.000000e+00, i32 noundef %79)
  br label %86

80:                                               ; preds = %66
  %81 = load i32, ptr %14, align 4, !tbaa !16
  %82 = sitofp i32 %81 to float
  %83 = load i32, ptr %15, align 4, !tbaa !16
  %84 = sitofp i32 %83 to float
  %85 = call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -56)
  call void @_ZL20addGfxCmdRoundedRectfffffj(float noundef %82, float noundef %84, float noundef 8.000000e+00, float noundef 8.000000e+00, float noundef 3.000000e+00, i32 noundef %85)
  br label %86

86:                                               ; preds = %80, %69
  br label %87

87:                                               ; preds = %86, %38
  %88 = load i8, ptr %6, align 1, !tbaa !9, !range !20, !noundef !21
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %105

90:                                               ; preds = %87
  %91 = load i32, ptr %8, align 4, !tbaa !16
  %92 = add nsw i32 %91, 20
  %93 = load i32, ptr %9, align 4, !tbaa !16
  %94 = add nsw i32 %93, 10
  %95 = sub nsw i32 %94, 4
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = load i32, ptr %7, align 4, !tbaa !16
  %98 = call noundef zeroext i1 @_Z5isHotj(i32 noundef %97)
  br i1 %98, label %99, label %101

99:                                               ; preds = %90
  %100 = call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -1, i8 noundef zeroext -60, i8 noundef zeroext 0, i8 noundef zeroext -1)
  br label %103

101:                                              ; preds = %90
  %102 = call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext -56)
  br label %103

103:                                              ; preds = %101, %99
  %104 = phi i32 [ %100, %99 ], [ %102, %101 ]
  call void @_ZL13addGfxCmdTextiiiPKcj(i32 noundef %92, i32 noundef %95, i32 noundef 0, ptr noundef %96, i32 noundef %104)
  br label %113

105:                                              ; preds = %87
  %106 = load i32, ptr %8, align 4, !tbaa !16
  %107 = add nsw i32 %106, 20
  %108 = load i32, ptr %9, align 4, !tbaa !16
  %109 = add nsw i32 %108, 10
  %110 = sub nsw i32 %109, 4
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -56)
  call void @_ZL13addGfxCmdTextiiiPKcj(i32 noundef %107, i32 noundef %110, i32 noundef 0, ptr noundef %111, i32 noundef %112)
  br label %113

113:                                              ; preds = %105, %103
  %114 = load i8, ptr %13, align 1, !tbaa !9, !range !20, !noundef !21
  %115 = trunc i8 %114 to i1
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  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
  ret i1 %115
}

attributes #0 = { 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 #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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 64}
!12 = !{!"_ZTS8GuiState", !10, i64 0, !10, i64 1, !10, i64 2, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !10, i64 28, !10, i64 29, !10, i64 30, !13, i64 32, !13, i64 36, !14, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !10, i64 56, !13, i64 60, !13, i64 64}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!12, !13, i64 60}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 44}
!18 = !{!12, !13, i64 48}
!19 = !{!12, !13, i64 52}
!20 = !{i8 0, i8 2}
!21 = !{}


; 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.GuiState = type { i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i8, i8, i32, i32, float, i32, i32, i32, i8, i32, i32 }

@_ZL7g_state = external hidden local_unnamed_addr global %struct.GuiState, align 4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z6inRectiiiib(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL20addGfxCmdRoundedRectfffffj(float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL13addGfxCmdTextiiiPKcj(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL11buttonLogicjb(i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z8isActivej(i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5isHotj(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10imguiCheckPKcbb(ptr noundef %0, i1 noundef zeroext %1, i1 noundef zeroext %2) local_unnamed_addr #2 {
  %4 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 64), align 4, !tbaa !5
  %5 = add i32 %4, 1
  store i32 %5, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 64), align 4, !tbaa !5
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 60), align 4, !tbaa !12
  %7 = shl i32 %6, 16
  %8 = or i32 %7, %5
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 44), align 4, !tbaa !13
  %10 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 48), align 4, !tbaa !14
  %11 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 52), align 4, !tbaa !15
  %12 = add nsw i32 %10, -24
  store i32 %12, ptr getelementptr inbounds (i8, ptr @_ZL7g_state, i64 48), align 4, !tbaa !14
  br i1 %2, label %13, label %16

13:                                               ; preds = %3
  %14 = add nsw i32 %10, -20
  %15 = tail call noundef zeroext i1 @_Z6inRectiiiib(i32 noundef %9, i32 noundef %14, i32 noundef %11, i32 noundef 20, i1 noundef zeroext true)
  br label %16

16:                                               ; preds = %13, %3
  %17 = phi i1 [ false, %3 ], [ %15, %13 ]
  %18 = tail call noundef zeroext i1 @_ZL11buttonLogicjb(i32 noundef %8, i1 noundef zeroext %17)
  %19 = add nsw i32 %9, 6
  %20 = add nsw i32 %10, -14
  %21 = sitofp i32 %19 to float
  %22 = fadd float %21, -3.000000e+00
  %23 = sitofp i32 %20 to float
  %24 = fadd float %23, -3.000000e+00
  %25 = tail call noundef zeroext i1 @_Z8isActivej(i32 noundef %8)
  %26 = select i1 %25, i8 -60, i8 96
  %27 = tail call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext %26)
  tail call void @_ZL20addGfxCmdRoundedRectfffffj(float noundef %22, float noundef %24, float noundef 1.400000e+01, float noundef 1.400000e+01, float noundef 4.000000e+00, i32 noundef %27)
  br i1 %1, label %28, label %33

28:                                               ; preds = %16
  br i1 %2, label %.thread, label %.thread27

.thread:                                          ; preds = %28
  %29 = tail call noundef zeroext i1 @_Z8isActivej(i32 noundef %8)
  %30 = select i1 %29, i8 -1, i8 -56
  %31 = tail call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext %30)
  tail call void @_ZL20addGfxCmdRoundedRectfffffj(float noundef %21, float noundef %23, float noundef 8.000000e+00, float noundef 8.000000e+00, float noundef 3.000000e+00, i32 noundef %31)
  br label %34

.thread27:                                        ; preds = %28
  %32 = tail call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -56)
  tail call void @_ZL20addGfxCmdRoundedRectfffffj(float noundef %21, float noundef %23, float noundef 8.000000e+00, float noundef 8.000000e+00, float noundef 3.000000e+00, i32 noundef %32)
  br label %43

33:                                               ; preds = %16
  br i1 %2, label %34, label %43

34:                                               ; preds = %.thread, %33
  %35 = add nsw i32 %9, 20
  %36 = tail call noundef zeroext i1 @_Z5isHotj(i32 noundef %8)
  br i1 %36, label %37, label %39

37:                                               ; preds = %34
  %38 = tail call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -1, i8 noundef zeroext -60, i8 noundef zeroext 0, i8 noundef zeroext -1)
  br label %41

39:                                               ; preds = %34
  %40 = tail call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext -1, i8 noundef zeroext -56)
  br label %41

41:                                               ; preds = %39, %37
  %42 = phi i32 [ %38, %37 ], [ %40, %39 ]
  tail call void @_ZL13addGfxCmdTextiiiPKcj(i32 noundef %35, i32 noundef %20, i32 noundef 0, ptr noundef %0, i32 noundef %42)
  br label %46

43:                                               ; preds = %.thread27, %33
  %44 = add nsw i32 %9, 20
  %45 = tail call noundef i32 @_Z9imguiRGBAhhhh(i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -128, i8 noundef zeroext -56)
  tail call void @_ZL13addGfxCmdTextiiiPKcj(i32 noundef %44, i32 noundef %20, i32 noundef 0, ptr noundef %0, i32 noundef %45)
  br label %46

46:                                               ; preds = %43, %41
  ret i1 %18
}

attributes #0 = { 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 #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 = { 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" }

!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, !10, i64 64}
!6 = !{!"_ZTS8GuiState", !7, i64 0, !7, i64 1, !7, i64 2, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 30, !10, i64 32, !10, i64 36, !11, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !7, i64 56, !10, i64 60, !10, i64 64}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !10, i64 60}
!13 = !{!6, !10, i64 44}
!14 = !{!6, !10, i64 48}
!15 = !{!6, !10, i64 52}


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