; LLVM IR from jan-van-bergen/GPU-Raytracer :: include/Imgui/imgui_widgets.ll (ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_)

; 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.ImGuiDataTypeTempStorage = type { [8 x i8] }
%struct.ImGuiDataTypeInfo = type { i64, ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_ = external hidden unnamed_addr constant [85 x i8], align 1

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #4 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ImGuiDataTypeTempStorage, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  br label %14

14:                                               ; preds = %18, %4
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = load i8, ptr %15, align 1, !tbaa !11
  %17 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %16)
  br i1 %17, label %18, label %21

18:                                               ; preds = %14
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i32 1
  store ptr %20, ptr %6, align 8, !tbaa !5
  br label %14, !llvm.loop !12

21:                                               ; preds = %14
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 0
  %24 = load i8, ptr %23, align 1, !tbaa !11
  %25 = icmp ne i8 %24, 0
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  store i1 false, ptr %5, align 1
  br label %130

27:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %28 = load i32, ptr %7, align 4, !tbaa !9
  %29 = call noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef %28)
  store ptr %29, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %31, i32 0, i32 0
  %33 = load i64, ptr %32, align 8, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 %30, i64 %33, i1 false)
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %40

36:                                               ; preds = %27
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %37, i32 0, i32 3
  %39 = load ptr, ptr %38, align 8, !tbaa !17
  store ptr %39, ptr %9, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %36, %27
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = icmp eq i32 %41, 4
  br i1 %42, label %58, label %43

43:                                               ; preds = %40
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 5
  br i1 %45, label %58, label %46

46:                                               ; preds = %43
  %47 = load i32, ptr %7, align 4, !tbaa !9
  %48 = icmp eq i32 %47, 6
  br i1 %48, label %58, label %49

49:                                               ; preds = %46
  %50 = load i32, ptr %7, align 4, !tbaa !9
  %51 = icmp eq i32 %50, 7
  br i1 %51, label %58, label %52

52:                                               ; preds = %49
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = icmp eq i32 %53, 8
  br i1 %54, label %58, label %55

55:                                               ; preds = %52
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = icmp eq i32 %56, 9
  br i1 %57, label %58, label %76

58:                                               ; preds = %55, %52, %49, %46, %43, %40
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = icmp eq i32 %59, 8
  br i1 %60, label %64, label %61

61:                                               ; preds = %58
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = icmp eq i32 %62, 9
  br i1 %63, label %64, label %68

64:                                               ; preds = %61, %58
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %65, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  store ptr %67, ptr %9, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %64, %61
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %69, ptr noundef %70, ptr noundef %71) #8
  %73 = icmp slt i32 %72, 1
  br i1 %73, label %74, label %75

74:                                               ; preds = %68
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %129

75:                                               ; preds = %68
  br label %122

76:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %77, ptr noundef %78, ptr noundef %13) #8
  %80 = icmp slt i32 %79, 1
  br i1 %80, label %81, label %82

81:                                               ; preds = %76
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %119

82:                                               ; preds = %76
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %90

85:                                               ; preds = %82
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %86, i32 noundef -128, i32 noundef 127)
  %88 = trunc i32 %87 to i8
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 %88, ptr %89, align 1, !tbaa !11
  br label %118

90:                                               ; preds = %82
  %91 = load i32, ptr %7, align 4, !tbaa !9
  %92 = icmp eq i32 %91, 1
  br i1 %92, label %93, label %98

93:                                               ; preds = %90
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %94, i32 noundef 0, i32 noundef 255)
  %96 = trunc i32 %95 to i8
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 %96, ptr %97, align 1, !tbaa !11
  br label %117

98:                                               ; preds = %90
  %99 = load i32, ptr %7, align 4, !tbaa !9
  %100 = icmp eq i32 %99, 2
  br i1 %100, label %101, label %106

101:                                              ; preds = %98
  %102 = load i32, ptr %13, align 4, !tbaa !9
  %103 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %102, i32 noundef -32768, i32 noundef 32767)
  %104 = trunc i32 %103 to i16
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  store i16 %104, ptr %105, align 2, !tbaa !18
  br label %116

106:                                              ; preds = %98
  %107 = load i32, ptr %7, align 4, !tbaa !9
  %108 = icmp eq i32 %107, 3
  br i1 %108, label %109, label %114

109:                                              ; preds = %106
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %110, i32 noundef 0, i32 noundef 65535)
  %112 = trunc i32 %111 to i16
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  store i16 %112, ptr %113, align 2, !tbaa !18
  br label %115

114:                                              ; preds = %106
  call void @__assert_fail(ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 2036, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_) #9
  unreachable

115:                                              ; preds = %109
  br label %116

116:                                              ; preds = %115, %101
  br label %117

117:                                              ; preds = %116, %93
  br label %118

118:                                              ; preds = %117, %85
  store i32 0, ptr %12, align 4
  br label %119

119:                                              ; preds = %118, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  %120 = load i32, ptr %12, align 4
  switch i32 %120, label %129 [
    i32 0, label %121
  ]

121:                                              ; preds = %119
  br label %122

122:                                              ; preds = %121, %75
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %124, i32 0, i32 0
  %126 = load i64, ptr %125, align 8, !tbaa !14
  %127 = call i32 @memcmp(ptr noundef %11, ptr noundef %123, i64 noundef %126) #10
  %128 = icmp ne i32 %127, 0
  store i1 %128, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %129

129:                                              ; preds = %122, %119, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %130

130:                                              ; preds = %129, %26
  %131 = load i1, ptr %5, align 1
  ret i1 %131
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext) #5

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn 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 #3 = { 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 = { 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 #5 = { 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 #6 = { 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 #7 = { nounwind willreturn memory(read) "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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTS17ImGuiDataTypeInfo", !16, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"long", !7, i64 0}
!17 = !{!15, !6, i64 24}
!18 = !{!19, !19, i64 0}
!19 = !{!"short", !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.ImGuiDataTypeTempStorage = type { [8 x i8] }

@.str.2 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_ = external hidden unnamed_addr constant [85 x i8], align 1

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef readonly %3) local_unnamed_addr #3 {
  %5 = alloca %struct.ImGuiDataTypeTempStorage, align 1
  %6 = alloca i32, align 4
  br label %7

7:                                                ; preds = %7, %4
  %.047 = phi ptr [ %0, %4 ], [ %10, %7 ]
  %8 = load i8, ptr %.047, align 1, !tbaa !5
  %9 = tail call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %8)
  %10 = getelementptr inbounds i8, ptr %.047, i64 1
  br i1 %9, label %7, label %11, !llvm.loop !8

11:                                               ; preds = %7
  %12 = load i8, ptr %.047, align 1, !tbaa !5
  %.not = icmp eq i8 %12, 0
  br i1 %.not, label %55, label %13

13:                                               ; preds = %11
  %14 = tail call noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %15 = load i64, ptr %14, align 8, !tbaa !10
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %5, ptr align 1 %2, i64 %15, i1 false)
  %16 = icmp eq ptr %3, null
  br i1 %16, label %17, label %20

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %14, i64 24
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  br label %20

20:                                               ; preds = %17, %13
  %.045 = phi ptr [ %19, %17 ], [ %3, %13 ]
  %.off = add i32 %1, -4
  %switch = icmp ult i32 %.off, 6
  br i1 %switch, label %21, label %29

21:                                               ; preds = %20
  %22 = and i32 %1, 14
  %or.cond11 = icmp eq i32 %22, 8
  br i1 %or.cond11, label %23, label %26

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %14, i64 24
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  br label %26

26:                                               ; preds = %21, %23
  %.146 = phi ptr [ %25, %23 ], [ %.045, %21 ]
  %27 = tail call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.047, ptr noundef %.146, ptr noundef %2) #7
  %28 = icmp slt i32 %27, 1
  br i1 %28, label %54, label %51

29:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %30 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.047, ptr noundef %.045, ptr noundef nonnull %6) #7
  %31 = icmp sgt i32 %30, 0
  br i1 %31, label %32, label %.critedge

32:                                               ; preds = %29
  switch i32 %1, label %49 [
    i32 0, label %33
    i32 1, label %37
    i32 2, label %41
    i32 3, label %45
  ]

33:                                               ; preds = %32
  %34 = load i32, ptr %6, align 4, !tbaa !15
  %35 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %34, i32 noundef -128, i32 noundef 127)
  %36 = trunc i32 %35 to i8
  store i8 %36, ptr %2, align 1, !tbaa !5
  br label %50

37:                                               ; preds = %32
  %38 = load i32, ptr %6, align 4, !tbaa !15
  %39 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %38, i32 noundef 0, i32 noundef 255)
  %40 = trunc i32 %39 to i8
  store i8 %40, ptr %2, align 1, !tbaa !5
  br label %50

41:                                               ; preds = %32
  %42 = load i32, ptr %6, align 4, !tbaa !15
  %43 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %42, i32 noundef -32768, i32 noundef 32767)
  %44 = trunc i32 %43 to i16
  store i16 %44, ptr %2, align 2, !tbaa !17
  br label %50

45:                                               ; preds = %32
  %46 = load i32, ptr %6, align 4, !tbaa !15
  %47 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %46, i32 noundef 0, i32 noundef 65535)
  %48 = trunc i32 %47 to i16
  store i16 %48, ptr %2, align 2, !tbaa !17
  br label %50

49:                                               ; preds = %32
  call void @__assert_fail(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.2, i32 noundef 2036, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_) #8
  unreachable

50:                                               ; preds = %33, %41, %45, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %51

51:                                               ; preds = %50, %26
  %52 = load i64, ptr %14, align 8, !tbaa !10
  %bcmp = call i32 @bcmp(ptr nonnull %5, ptr %2, i64 %52)
  %53 = icmp ne i32 %bcmp, 0
  br label %54

.critedge:                                        ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %54

54:                                               ; preds = %.critedge, %26, %51
  %.1 = phi i1 [ %53, %51 ], [ false, %26 ], [ false, %.critedge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %55

55:                                               ; preds = %11, %54
  %.2 = phi i1 [ %.1, %54 ], [ false, %11 ]
  ret i1 %.2
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn 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 #3 = { 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 = { 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 #5 = { nofree 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 #6 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !12, i64 0}
!11 = !{!"_ZTS17ImGuiDataTypeInfo", !12, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!12 = !{!"long", !6, i64 0}
!13 = !{!"any pointer", !6, i64 0}
!14 = !{!11, !13, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !6, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"short", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass