; LLVM IR from NotManyIdeasDev/double-pendulum-sim :: double-pendulum-sim/Libraries/raygui-2.8/examples/controls_test_suite (GuiMessageBox)

; 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.Font = type { i32, i32, i32, %struct.Texture, ptr, ptr }
%struct.Texture = type { i32, i32, i32, i32, i32 }
%struct.Rectangle = type { float, float, float, float }
%struct.Vector2 = type { float, float }

@guiFont = external hidden global %struct.Font, align 8

; Function Attrs: nounwind uwtable
declare dso_local void @GuiSetStyle(i32 noundef, i32 noundef, i32 noundef) #0

; 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: nounwind uwtable
declare dso_local i32 @GuiGetStyle(i32 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiWindowBox(<2 x float>, <2 x float>, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiButton(<2 x float>, <2 x float>, ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare dso_local void @GuiLabel(<2 x float>, <2 x float>, ptr noundef) #2

declare <2 x float> @MeasureTextEx(ptr noundef byval(%struct.Font) align 8, ptr noundef, float noundef, float noundef) #4

; Function Attrs: nounwind uwtable
declare hidden ptr @GuiTextSplit(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @GuiMessageBox(<2 x float> %0, <2 x float> %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca %struct.Rectangle, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %struct.Rectangle, align 4
  %14 = alloca %struct.Vector2, align 4
  %15 = alloca %struct.Rectangle, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  store <2 x float> %0, ptr %18, align 4
  %19 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  store <2 x float> %1, ptr %19, align 4
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  store ptr %4, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 -1, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = call ptr @GuiTextSplit(ptr noundef %20, ptr noundef %11, ptr noundef null)
  store ptr %21, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.memset.p0.i64(ptr align 4 %13, i8 0, i64 16, i1 false)
  %22 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 0
  %23 = load float, ptr %22, align 4, !tbaa !11
  %24 = fadd float %23, 1.000000e+01
  %25 = getelementptr inbounds %struct.Rectangle, ptr %13, i32 0, i32 0
  store float %24, ptr %25, align 4, !tbaa !11
  %26 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 1
  %27 = load float, ptr %26, align 4, !tbaa !14
  %28 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 3
  %29 = load float, ptr %28, align 4, !tbaa !15
  %30 = fadd float %27, %29
  %31 = fsub float %30, 2.400000e+01
  %32 = fsub float %31, 1.000000e+01
  %33 = getelementptr inbounds %struct.Rectangle, ptr %13, i32 0, i32 1
  store float %32, ptr %33, align 4, !tbaa !14
  %34 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 2
  %35 = load float, ptr %34, align 4, !tbaa !16
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  %38 = mul nsw i32 10, %37
  %39 = sitofp i32 %38 to float
  %40 = fsub float %35, %39
  %41 = load i32, ptr %11, align 4, !tbaa !9
  %42 = sitofp i32 %41 to float
  %43 = fdiv float %40, %42
  %44 = getelementptr inbounds %struct.Rectangle, ptr %13, i32 0, i32 2
  store float %43, ptr %44, align 4, !tbaa !16
  %45 = getelementptr inbounds %struct.Rectangle, ptr %13, i32 0, i32 3
  store float 2.400000e+01, ptr %45, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 16)
  %48 = sitofp i32 %47 to float
  %49 = call <2 x float> @MeasureTextEx(ptr noundef byval(%struct.Font) align 8 @guiFont, ptr noundef %46, float noundef %48, float noundef 1.000000e+00)
  store <2 x float> %49, ptr %14, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @llvm.memset.p0.i64(ptr align 4 %15, i8 0, i64 16, i1 false)
  %50 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 0
  %51 = load float, ptr %50, align 4, !tbaa !11
  %52 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 2
  %53 = load float, ptr %52, align 4, !tbaa !16
  %54 = fdiv float %53, 2.000000e+00
  %55 = fadd float %51, %54
  %56 = getelementptr inbounds %struct.Vector2, ptr %14, i32 0, i32 0
  %57 = load float, ptr %56, align 4, !tbaa !17
  %58 = fdiv float %57, 2.000000e+00
  %59 = fsub float %55, %58
  %60 = getelementptr inbounds %struct.Rectangle, ptr %15, i32 0, i32 0
  store float %59, ptr %60, align 4, !tbaa !11
  %61 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !14
  %63 = fadd float %62, 2.200000e+01
  %64 = getelementptr inbounds %struct.Rectangle, ptr %6, i32 0, i32 3
  %65 = load float, ptr %64, align 4, !tbaa !15
  %66 = fsub float %65, 2.200000e+01
  %67 = fsub float %66, 2.400000e+01
  %68 = fsub float %67, 1.000000e+01
  %69 = fdiv float %68, 2.000000e+00
  %70 = fadd float %63, %69
  %71 = getelementptr inbounds %struct.Vector2, ptr %14, i32 0, i32 1
  %72 = load float, ptr %71, align 4, !tbaa !19
  %73 = fdiv float %72, 2.000000e+00
  %74 = fsub float %70, %73
  %75 = getelementptr inbounds %struct.Rectangle, ptr %15, i32 0, i32 1
  store float %74, ptr %75, align 4, !tbaa !14
  %76 = getelementptr inbounds %struct.Vector2, ptr %14, i32 0, i32 0
  %77 = load float, ptr %76, align 4, !tbaa !17
  %78 = getelementptr inbounds %struct.Rectangle, ptr %15, i32 0, i32 2
  store float %77, ptr %78, align 4, !tbaa !16
  %79 = getelementptr inbounds %struct.Vector2, ptr %14, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !19
  %81 = getelementptr inbounds %struct.Rectangle, ptr %15, i32 0, i32 3
  store float %80, ptr %81, align 4, !tbaa !15
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  %84 = load <2 x float>, ptr %83, align 4
  %85 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  %86 = load <2 x float>, ptr %85, align 4
  %87 = call zeroext i1 @GuiWindowBox(<2 x float> %84, <2 x float> %86, ptr noundef %82)
  br i1 %87, label %88, label %89

88:                                               ; preds = %5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %88, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %90 = call i32 @GuiGetStyle(i32 noundef 1, i32 noundef 14)
  store i32 %90, ptr %16, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 1, i32 noundef 14, i32 noundef 1)
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 0
  %93 = load <2 x float>, ptr %92, align 4
  %94 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 1
  %95 = load <2 x float>, ptr %94, align 4
  call void @GuiLabel(<2 x float> %93, <2 x float> %95, ptr noundef %91)
  %96 = load i32, ptr %16, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 1, i32 noundef 14, i32 noundef %96)
  %97 = call i32 @GuiGetStyle(i32 noundef 2, i32 noundef 14)
  store i32 %97, ptr %16, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 2, i32 noundef 14, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %124, %89
  %99 = load i32, ptr %17, align 4, !tbaa !9
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %127

103:                                              ; preds = %98
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %110 = load <2 x float>, ptr %109, align 4
  %111 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %112 = load <2 x float>, ptr %111, align 4
  %113 = call zeroext i1 @GuiButton(<2 x float> %110, <2 x float> %112, ptr noundef %108)
  br i1 %113, label %114, label %117

114:                                              ; preds = %103
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %10, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %114, %103
  %118 = getelementptr inbounds %struct.Rectangle, ptr %13, i32 0, i32 2
  %119 = load float, ptr %118, align 4, !tbaa !16
  %120 = fadd float %119, 1.000000e+01
  %121 = getelementptr inbounds %struct.Rectangle, ptr %13, i32 0, i32 0
  %122 = load float, ptr %121, align 4, !tbaa !11
  %123 = fadd float %122, %120
  store float %123, ptr %121, align 4, !tbaa !11
  br label %124

124:                                              ; preds = %117
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %17, align 4, !tbaa !9
  br label %98, !llvm.loop !20

127:                                              ; preds = %102
  %128 = load i32, ptr %16, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 2, i32 noundef 14, i32 noundef %128)
  %129 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  ret i32 %129
}

attributes #0 = { 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 = { nounwind 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"Rectangle", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 12}
!16 = !{!12, !13, i64 8}
!17 = !{!18, !13, i64 0}
!18 = !{!"Vector2", !13, i64 0, !13, i64 4}
!19 = !{!18, !13, i64 4}
!20 = distinct !{!20, !21}
!21 = !{!"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"

%struct.Font = type { i32, i32, i32, %struct.Texture, ptr, ptr }
%struct.Texture = type { i32, i32, i32, i32, i32 }

@guiFont = external hidden global %struct.Font, align 8

; Function Attrs: nounwind uwtable
declare dso_local void @GuiSetStyle(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; 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: nounwind uwtable
declare dso_local i32 @GuiGetStyle(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiWindowBox(<2 x float>, <2 x float>, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiButton(<2 x float>, <2 x float>, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @GuiLabel(<2 x float>, <2 x float>, ptr noundef) local_unnamed_addr #2

declare <2 x float> @MeasureTextEx(ptr noundef byval(%struct.Font) align 8, ptr noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden ptr @GuiTextSplit(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @GuiMessageBox(<2 x float> %0, <2 x float> %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  %7 = call ptr @GuiTextSplit(ptr noundef %4, ptr noundef nonnull %6, ptr noundef null)
  %.sroa.631.12.vec.extract = extractelement <2 x float> %1, i64 1
  %.sroa.631.8.vec.extract = extractelement <2 x float> %1, i64 0
  %8 = load i32, ptr %6, align 4, !tbaa !5
  %9 = mul i32 %8, 10
  %10 = add i32 %9, 10
  %11 = sitofp i32 %10 to float
  %12 = fsub float %.sroa.631.8.vec.extract, %11
  %13 = sitofp i32 %8 to float
  %14 = fdiv float %12, %13
  %.sroa.8.12.vec.insert = insertelement <2 x float> <float poison, float 2.400000e+01>, float %14, i64 0
  %15 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 16)
  %16 = sitofp i32 %15 to float
  %17 = call <2 x float> @MeasureTextEx(ptr noundef nonnull byval(%struct.Font) align 8 @guiFont, ptr noundef %3, float noundef %16, float noundef 1.000000e+00) #4
  %18 = fadd float %.sroa.631.12.vec.extract, -2.200000e+01
  %19 = fadd float %18, -2.400000e+01
  %20 = fadd float %19, -1.000000e+01
  %21 = fmul float %20, 5.000000e-01
  %22 = shufflevector <2 x float> %1, <2 x float> %0, <2 x i32> <i32 0, i32 3>
  %23 = fmul <2 x float> %22, <float 5.000000e-01, float poison>
  %24 = fadd <2 x float> %22, <float poison, float 2.200000e+01>
  %25 = shufflevector <2 x float> %23, <2 x float> %24, <2 x i32> <i32 0, i32 3>
  %26 = insertelement <2 x float> %0, float %21, i64 1
  %27 = fadd <2 x float> %26, %25
  %28 = fmul <2 x float> %17, <float 5.000000e-01, float 5.000000e-01>
  %29 = fsub <2 x float> %27, %28
  %30 = call zeroext i1 @GuiWindowBox(<2 x float> %0, <2 x float> %1, ptr noundef %2)
  %not. = xor i1 %30, true
  %spec.select = sext i1 %not. to i32
  %31 = call i32 @GuiGetStyle(i32 noundef 1, i32 noundef 14)
  call void @GuiSetStyle(i32 noundef 1, i32 noundef 14, i32 noundef 1)
  call void @GuiLabel(<2 x float> %29, <2 x float> %17, ptr noundef %3)
  call void @GuiSetStyle(i32 noundef 1, i32 noundef 14, i32 noundef %31)
  %32 = call i32 @GuiGetStyle(i32 noundef 2, i32 noundef 14)
  call void @GuiSetStyle(i32 noundef 2, i32 noundef 14, i32 noundef 1)
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5
  %35 = fadd <2 x float> %0, %1
  %36 = extractelement <2 x float> %35, i64 1
  %37 = fadd float %36, -2.400000e+01
  %38 = insertelement <2 x float> %0, float %37, i64 1
  %39 = fadd <2 x float> %38, <float 1.000000e+01, float -1.000000e+01>
  %40 = fadd float %14, 1.000000e+01
  br label %41

._crit_edge:                                      ; preds = %41, %5
  %.1.lcssa = phi i32 [ %spec.select, %5 ], [ %spec.select38, %41 ]
  call void @GuiSetStyle(i32 noundef 2, i32 noundef 14, i32 noundef %32)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  ret i32 %.1.lcssa

41:                                               ; preds = %.lr.ph, %41
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %41 ]
  %.140 = phi i32 [ %spec.select, %.lr.ph ], [ %spec.select38, %41 ]
  %.sroa.013.039 = phi <2 x float> [ %39, %.lr.ph ], [ %.sroa.013.0.vec.insert17, %41 ]
  %42 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = call zeroext i1 @GuiButton(<2 x float> %.sroa.013.039, <2 x float> %.sroa.8.12.vec.insert, ptr noundef %43)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %45 = trunc nuw nsw i64 %indvars.iv.next to i32
  %spec.select38 = select i1 %44, i32 %45, i32 %.140
  %.sroa.013.0.vec.extract = extractelement <2 x float> %.sroa.013.039, i64 0
  %46 = fadd float %40, %.sroa.013.0.vec.extract
  %.sroa.013.0.vec.insert17 = insertelement <2 x float> %.sroa.013.039, float %46, i64 0
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = icmp slt i64 %indvars.iv.next, %48
  br i1 %49, label %41, label %._crit_edge, !llvm.loop !11
}

attributes #0 = { 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 = { nounwind 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 #3 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass